HYPERLINK

Marvo

Board Regular
Joined
Nov 27, 2023
Messages
158
Office Version
  1. 2021
Platform
  1. Windows
The following formula results in a cell with a date inside. How do I add a HYPERLINK to take me to the resulting cell please?

=IF(C21="","",XLOOKUP(C21,ALL!$AH$2:$AH$5558,ALL!$B$2:$B$5558,,0,-1))
.
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
try like this:
Excel Formula:
=IF(C21="","",HYPERLINK("[.\]'Sheet1'!"&CELL("address",INDEX(ALL!$B$2:$B$5558,MATCH(C21,ALL!$AH$2:$AH$5558,0))),XLOOKUP(C21,ALL!$AH$2:$AH$5558,ALL!$B$2:$B$5558,,0,-1)))
 
Upvote 0
It returns "reference isn't valid". However if I hover over the cell the reference is correct.

I have a similar hyperlink with a different formula on another page that works and the only difference when you hover over the cell is that yours has [.\] at the start whereas the one that works has #. Has that got something to do with it?

I tried to use how that hyperlink was set up to do this one but failed, miserably.
 
Upvote 0
Hi, here's another option you can try:

Excel Formula:
=IF(C21="","",LET(XL,XLOOKUP(C21,ALL!$AH$2:$AH$5558,ALL!$B$2:$B$5558,,0,-1),HYPERLINK(CELL("address",XL),XL)))
 
Upvote 0
Solution
Yes that works, fantastic. Thank you so much, I'll get to work on the other cells. Another small improvement.
 
Upvote 0

Forum statistics

Threads
1,215,335
Messages
6,124,327
Members
449,155
Latest member
ravioli44

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