Please help with condition and HYPERLINK

djanu

Board Regular
Joined
Oct 30, 2006
Messages
55
Hi,

I am trying to come up with formula to use HYPERLINK function.

IF A2="YES" THEN B2=HYPERLINK("\\c:temp\test.file")

I need cell B2 to show hyperlink based on the value of cell A2 (YES/NO).

Is this possible?

Thank you,
djanu
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Thanks Andrew, it worked.

How can I make cell B2 to show hyperlink without entering formula in B2. I don't want any formulas in cell B2. Is there away to "redirect" to cell B2 without entering anything in B2?
 
Upvote 0

Forum statistics

Threads
1,214,983
Messages
6,122,583
Members
449,089
Latest member
Motoracer88

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