+ Reply to Thread
Results 1 to 3 of 3

Broken Formula to Hyperlink longitude and latitude cells to google maps

  1. #1
    Registered User
    Join Date
    05-09-2013
    Location
    New Orleans
    MS-Off Ver
    Excel 2013
    Posts
    2

    Unhappy Broken Formula to Hyperlink longitude and latitude cells to google maps

    I've got a spreadsheet that includes two cells with longitude and latitude. Google maps has a feature that allows you to input the long. and lat. coordinates into a website URL. I want to put these two things together and be able to link to a map displaying the location of the coordinates in the cells. FRUSTRATINGLY, I just can't seem to get it to work...

    Here's my basic example of the cells:
    L2 M2
    LONGITUDE LATITUDE
    29.96076 -90.10341

    Here's the formula I've got in my Google Maps Hyperlink Cell
    =HYPERLINK("http://maps.google.com/maps?q=" &L2 & "," &M2 & ")

    The basic Google maps long/lat URL is
    http://maps.google.com/maps?q=LONGITUDE,LATITUDE

    If the formula above was working properly it should have created:
    http://maps.google.com/maps?q=29.96076,-90.10341

    Sadly, all this formula does is sit there on my spreadsheet like a bump on a log, it doesn't turn blue and underlined, and it doesn't bring me to google maps. What's wrong with my formula?
    Please help!

  2. #2
    Forum Contributor Bhuvi's Avatar
    Join Date
    04-19-2013
    Location
    Delhi, India
    MS-Off Ver
    MS Excel 2003,07,10
    Posts
    153

    Re: Broken Formula to Hyperlink longitude and latitude cells to google maps

    Hi Nola,

    I can see that you are putting extra spaces in your formula, may be that is why the formula is not getting the correct address.

    You can try the below formula, I assume that you have data stating from row 3 with values in col A and col B.
    =HYPERLINK("https://maps.google.com/maps?q="&A3&","&B3,"Click to open google maps")

    value in cell A3- 29.96076
    value in cell B3- -90.10341

    you can change the column reference as desired by you.

    Regards,
    Bhuvanesh

    (pls click on the below * if this helps)
    Last edited by Bhuvi; 05-09-2013 at 09:23 AM. Reason: additional info inserted

  3. #3
    Registered User
    Join Date
    05-09-2013
    Location
    New Orleans
    MS-Off Ver
    Excel 2013
    Posts
    2

    Talking Re: Broken Formula to Hyperlink longitude and latitude cells to google maps

    That fixed it. Looks like I had too many spaces and ampersands. Thanks for your help!!!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1