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

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
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,224,558
Messages
6,179,511
Members
452,919
Latest member
krismmmitch

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