Forum Discussion

brink61's avatar
brink61
Copper Contributor
Apr 26, 2024

How to pin business locations using a city map in excel

Hello, I'm an average user on Excel.  I've created a simple spreadsheet for our local historical society to enter business information from city directories with column headings of "business name," "street address," "city," "state," "business category" "owner(s)" and then several columns following with the years of the city directories.  As business information is entered from each directory, the user simply enters an X in the corresponding year column.  We would like to be able to see locations of these businesses on a city map by corresponding year.  I was thinking that prompts for the user to choose a city directory year and another prompt for the user to choose a business category.  Regarding the business category, I was also thinking about allowing the user to either choose 1 or any number of categories, along with the choice of all categories too.  If that is possible?  I've seen some videos about Map charts and I'm not sure if this would work or if something else would be more feasible.  Any help would be greatly appreciated.

Thanks,

James

  • NikolinoDE's avatar
    NikolinoDE
    Gold Contributor

    brink61 

    To achieve your goal of pinning business locations on a city map based on the year and category of the businesses, you can use Excel in combination with mapping tools like Microsoft Power Map or external services like Google Maps.

    Here's a general outline of how you can approach this:

    1. Data Preparation:
      • Ensure your spreadsheet has columns for latitude and longitude (or address) in addition to the columns you've already mentioned.
      • You may need to use an external service or tool to geocode the addresses and convert them into latitude and longitude coordinates if they are not already available.
    2. Create a Pivot Table:
      • Use your data to create a pivot table with the necessary fields, including the business name, street address, city, state, latitude, longitude, business category, and the years.
      • Filter the pivot table based on the chosen city directory year and business category selected by the user.
    3. Generate Maps:
      • If you're using Excel with Power Map (available in Excel 2013 and later versions), you can use the pivot table to create interactive 3D maps.
      • Power Map allows you to visualize data on maps and plot locations based on latitude and longitude coordinates. You can also customize the map's appearance and add filters to focus on specific data.
      • If Power Map is not available, you can export your data to external mapping tools like Google Maps or Microsoft Power BI to create custom maps.
    4. User Interaction:
      • Add slicers or dropdown lists to your Excel sheet to allow users to select the city directory year and business category.
      • Based on the user's selection, update the pivot table and refresh the map visualization to display the relevant data.
    5. Testing and Refinement:
      • Test the functionality with sample data to ensure that the maps update correctly based on user selections.
      • Refine the process based on user feedback and make any necessary adjustments to improve usability and performance.

    By following these steps, you can create a dynamic mapping solution in Excel that allows users to visualize business locations based on city directory years and categories.

    NOTE: My knowledge of this topic is limited, but since no one has answered it for at least one day or more, I entered your question in various AI. The text and the steps are the result of various AI's put together. Maybe it will help you further in your project, if not please just ignore it.

     

    My answers are voluntary and without guarantee!

     

    Hope this will help you.

     

    Was the answer useful? Mark as best response and like it!

    This will help all forum participants.

Resources