The Code Cage - Microsoft Office help Free Microsoft Office Help for all Applications!  

To stop seeing these ads and get other benefits check This page!

Go Back   The Code Cage Forums > Newsgroups - Microsoft Topics > Newsgroup - Excel Forum > Worksheet Functions


Worksheet Functions Post questions in this forum if they are related to using Microsoft Excel Worksheet Functions, e.g Forumale or built in functionality etc.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 26th June 2009, 06:27 AM
bluker
Newsgroup Contributor


My Top Tip Count:

 
Posts: n/a
Default excel hyperlink text to display and vlookup

------ Register to get rid of these "In Post" ads! ------


Good Day,

hope that you possibly can help me.

I tried below function in an Excel sheet. It works well until I change the
text to display for the hyperlink, for e.g. to cnn instead of
http://www.cnn.com.

Then the link doesn’t work anymore. For short links this is no issue, but
unfortunately I have major long links to follow
and would love to make them more user friendly by shortening the displayed
text. Is this possible at all?

I seriously appreciate your help.
Thank you and best regards, Kerry




> Start with a table in M1 thru N5:
>
> 1 http://www.cnn.com
> 2 http://www.abc.com
> 3 http://www.nbc.com
> 4 http://www.cbs.com
> 5 http://www.fox.com
>
> In A1 put your data validation dropdown covering the list in column M
> In B1 put:
>
> =HYPERLINK(VLOOKUP(A1,M1:N5,2,FALSE))
>
> The VLOOKUP picks the right link and the HYPERLINK function makes the result
> "click-able". Enjoy.


Reply to this post


Did you find this post helpful? Yes | No
The Code Cage Advertisment
Advertisement

To stop seeing these ads and get other benefits check This page!
  #2 (permalink)  
Old 26th June 2009, 06:33 AM
Jacob Skaria
Newsgroup Contributor


My Top Tip Count:

 
Posts: n/a
Default RE: excel hyperlink text to display and vlookup

------ Register to get rid of these "In Post" ads! ------


By the way what is your lookup value (A1). Is that a friendly name like cnn
or so . If so try the below
=HYPERLINK(VLOOKUP(A1,M1:N5,2,FALSE),A1)

OR
have a friendly name for each in Col O1:O5 and then
=HYPERLINK(VLOOKUP(A1,M1:O5,2,FALSE),VLOOKUP(A1,M1:O5,3,FALSE))

If this post helps click Yes
---------------
Jacob Skaria


"bluker" wrote:

> Good Day,
>
> hope that you possibly can help me.
>
> I tried below function in an Excel sheet. It works well until I change the
> text to display for the hyperlink, for e.g. to cnn instead of
> http://www.cnn.com.
>
> Then the link doesn’t work anymore. For short links this is no issue, but
> unfortunately I have major long links to follow
> and would love to make them more user friendly by shortening the displayed
> text. Is this possible at all?
>
> I seriously appreciate your help.
> Thank you and best regards, Kerry
>
>
>
>
> > Start with a table in M1 thru N5:
> >
> > 1 http://www.cnn.com
> > 2 http://www.abc.com
> > 3 http://www.nbc.com
> > 4 http://www.cbs.com
> > 5 http://www.fox.com
> >
> > In A1 put your data validation dropdown covering the list in column M
> > In B1 put:
> >
> > =HYPERLINK(VLOOKUP(A1,M1:N5,2,FALSE))
> >
> > The VLOOKUP picks the right link and the HYPERLINK function makes the result
> > "click-able". Enjoy.

>

Reply to this post


Did you find this post helpful? Yes | No
  #3 (permalink)  
Old 30th June 2009, 10:26 AM
bluker
Newsgroup Contributor


My Top Tip Count:

 
Posts: n/a
Default RE: excel hyperlink text to display and vlookup

------ Register to get rid of these "In Post" ads! ------


Good Day,
this was easy.
I tried both solutions and they both work perfectly.
Thank you so much!
Kerry

"Jacob Skaria" wrote:

> By the way what is your lookup value (A1). Is that a friendly name like cnn
> or so . If so try the below
> =HYPERLINK(VLOOKUP(A1,M1:N5,2,FALSE),A1)
>
> OR
> have a friendly name for each in Col O1:O5 and then
> =HYPERLINK(VLOOKUP(A1,M1:O5,2,FALSE),VLOOKUP(A1,M1:O5,3,FALSE))
>
> If this post helps click Yes
> ---------------
> Jacob Skaria
>
>
> "bluker" wrote:
>
> > Good Day,
> >
> > hope that you possibly can help me.
> >
> > I tried below function in an Excel sheet. It works well until I change the
> > text to display for the hyperlink, for e.g. to cnn instead of
> > http://www.cnn.com.
> >
> > Then the link doesn’t work anymore. For short links this is no issue, but
> > unfortunately I have major long links to follow
> > and would love to make them more user friendly by shortening the displayed
> > text. Is this possible at all?
> >
> > I seriously appreciate your help.
> > Thank you and best regards, Kerry
> >
> >
> >
> >
> > > Start with a table in M1 thru N5:
> > >
> > > 1 http://www.cnn.com
> > > 2 http://www.abc.com
> > > 3 http://www.nbc.com
> > > 4 http://www.cbs.com
> > > 5 http://www.fox.com
> > >
> > > In A1 put your data validation dropdown covering the list in column M
> > > In B1 put:
> > >
> > > =HYPERLINK(VLOOKUP(A1,M1:N5,2,FALSE))
> > >
> > > The VLOOKUP picks the right link and the HYPERLINK function makes the result
> > > "click-able". Enjoy.

> >

Reply to this post


Did you find this post helpful? Yes | No
The Code Cage Advertisment
Advertisement

To stop seeing these ads and get other benefits check This page!
Reply

Bookmarks

Tags
display, excel, hyperlink, text, vlookup

New topics in Worksheet Functions


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

The Code Cage Affilliates


To stop seeing these ads and get other benefits check This page!



All times are GMT +1. The time now is 02:08 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2
No part of this board may be copied or reproduced either in part or full without the express permission of The Code Cage Team.
We are not associated with nor employed by Microsoft in any way, we simply provide resources!
All MS office icons are registered trademarks of the application the represent