Link a map into excel based on city location

Zimmerman

Well-known Member
Joined
Jan 22, 2009
Messages
663
I have a sheet that our salesman use to cost out what the price would be to do something. In here includes a spot to put the amount of miles it would be to deliver the product to the customer. What I'm wondering is, is it possible to have a link to a map that could be pulled up to show how many miles it actually is from start to end. Possibly even use the map for directions for our shipping department. Maybe it's not possible, but i have to ask.

Thanks
Windows XP
Excel 2003
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
There may be a more complicated yet better way to do it but you could just concatenate your address into a Google Maps URL.

Example a link for the direction from Transamerica Building in San Francisco to the Empire State Building would look like this

"http://maps.google.com/maps?f=d&source=s_d&saddr=600 Montgomery Street, San Francisco, CA&daddr=350 5th Avenue, New York, NY"
Where
saddr = Start Address
daddr = Destination Address

So if you used a formula such as this:

Code:
[A1] = 600 Montgomery Street, San Francisco, CA
[B1] = 350 5th Avenue, New York, NY
=HYPERLINK("http://maps.google.com/maps?f=d&source=s_d&saddr="&A1&"&daddr="&B1, "Map")

It might solve your problem.
 
Upvote 0

Forum statistics

Threads
1,224,560
Messages
6,179,520
Members
452,922
Latest member
nstaab07

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top