Hyperlink to cell where condition is true within a range

Diogenes

New Member
Joined
Apr 2, 2014
Messages
34
Hi all,

Been searching the interwebs for an answer to how I might hyperlink to a cell where an IF statement is true.

I have a worksheet with 100's of columns with dates in them and then on the row above the following formula =IF(BP4=TODAY(),"TODAY","").

When tomorrow it arrives BQ4 will obviously become the "TODAY" cell.

My question is how do I create a hyperlink or button way back in Cell A3 which takes you to whatever cell that currently equals "TODAY" in a range from D3:APJ3.

Any help would be appreciated.

Thanks,
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
something along the lines of

Dim c As Range, rng
Set rng = Range("f1:f20")
Range("a1").ClearContents

For Each c In rng
If c.Value = Date Then
Range("a1").Select

ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:="", SubAddress:= _
"Sheet1!" & c.Address, TextToDisplay:="Today"
End If
Next c
 
Upvote 0

Forum statistics

Threads
1,214,925
Messages
6,122,303
Members
449,078
Latest member
nonnakkong

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