Google Answers Logo
View Question
 
Q: Excel - Create Hyperlinks from a formula ( No Answer,   3 Comments )
Question  
Subject: Excel - Create Hyperlinks from a formula
Category: Computers > Programming
Asked by: hamsterdaa-ga
List Price: $5.00
Posted: 16 Nov 2005 11:16 PST
Expires: 17 Nov 2005 07:21 PST
Question ID: 593838
I am trying to use an Excel spreadsheet to create a cell with a
hyperlink to maps.google.com using latitude and longitude from other
cells. I have a formula that I am using which creates the correct
address in the cell which opens the website when I cut and past into a
browser address window. But the cell will not work directly as a
hyperlink. An example of the web address I am using is
"http://maps.google.com/maps?q=35 14.6-79 33.4"
Answer  
There is no answer at this time.

Comments  
Subject: Re: Excel - Create Hyperlinks from a formula
From: feldersoft-ga on 16 Nov 2005 11:24 PST
 
Does this answer your question?

http://exceltips.vitalnews.com/Pages/T0463_Dynamic_Hyperlinks_in_Excel.html
Subject: Re: Excel - Create Hyperlinks from a formula
From: larkas-ga on 17 Nov 2005 00:10 PST
 
You probably need to escape (URL-encode) the spaces. There should be
%20 used instead of the spaces. For your given example URL, try making
the output:

http://maps.google.com/maps?q=35%2014.6-79%2033.4

instead.

In Excel 2002 at least for me, the hyperlink function didn't escape the spaces.
Subject: Re: Excel - Create Hyperlinks from a formula
From: hamsterdaa-ga on 17 Nov 2005 07:21 PST
 
I was able to get it to work with the formula below...
=IF(ISBLANK(F6)," ",HYPERLINK("http://maps.google.com/maps?q="&F6&",
"&G6&" , NC (Spotter Location) &spn=0.3,0.3&safe=active 
target=_blank","Map it With Google"))

I use a logical check (to see if the cell is blank) and then use the
hyperlink function.

Thanks for the help.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy