vlookup not returning hyperlink to another cell in the workbook

michellehemmings

New Member
Joined
Feb 16, 2018
Messages
7
So i have a contents page which holds my vlookup

=VLOOKUP(C8,'Content Summary'!1:1048576,2,FALSE)

and a content summary page which holds a full list of sheets and sheet sections in my workbook.

The vlookup on the contents page pulls the correct data but doesn't pull through the hyperlink to the cell

I am trying to create a user friendly drop down contents page instead of people having to scroll down a 6 page document to find the relevant section in the workbook they require before clicking the link

I have tried
=HYPERLINK(VLOOKUP(C8,'Content Summary'!1:1048576,2,FALSE)
However this doesn't work as my link is a "place in this document" link

PLEASE HELP!
 
Hi Ed
One more question sorry!

So this is my current formula working perfectly thanks toyou!

However, if the cell is blank on the contents summary sheethow do I get it to return blank instead of #value ?
=HYPERLINK(GetURL_CS(MATCH(C8,'ContentSummary'!A:A,0),2),(VLOOKUP(C8,'Content Summary'!1:1048576,2,FALSE)))

I previously used the below formula but I cant seem to getthis incorporated with the above formula
=IF(LEN(VLOOKUP(C8,'ContentSummary'!1:1048576,7,FALSE))=0,"",(VLOOKUP(C8,'ContentSummary'!1:1048576,7,FALSE)))

Thank You!

Michelle
 
Upvote 0

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Hi

this should work/do what you need:

=IF(ISBLANK(VLOOKUP(C8,'Content Summary'!1:1048576,2,FALSE)),"",HYPERLINK(GetURL_CS(MATCH(C8,'Content Summary'!A:A,0),2),(VLOOKUP(C8,'Content Summary'!1:1048576,2,FALSE))))

regards

Ed
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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