Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

excel mailto formula

Status
Not open for further replies.

dippncope

Technical User
Sep 22, 2008
88
US
Needs some excel help please. I have a formula that will search column G looking for a city. when it finds city I need it to put a mailto hyperlink in column f.
Here is what I have
=IF(ISNUMBER(SEARCH("Albany",G:G )),"mailto:email1@123.com ","")&IF(ISNUMBER(SEARCH("CINCINNATI",G:G )),"mailto:email2@123.com","")

What I end up with is mailto:email1@123.com in the correct spot for the correct city but what I would like is for it to be a hyperlink and not just the text. If possible I would like to put formula into a macro. Any help is greatly appreciated. Thanks
 



Hi,

First, you have asked a question related to native Excel, best handled in Forum68.

Check out the HYPERLINK function. That should work for you.

Skip,
[sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top