Hyperlinked IF function?

Mysticalbane

New Member
Joined
Jan 30, 2021
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hello, is there a way to use the hyperlink function along with the IF function?

For example, I was a block of text to take you to a certain sheet based on the value in another sheet.

LINK Text – “P&L Worksheet” (If the value in sheet 1 is 12; it would take you to another sheet labeled 12, if it’s 13 it would take you to sheet 13, etc)

Hope this makes sense

Thanks!
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Hi, you can check below code.

Value is available in Sheet4 l1 cell.

Excel Formula:
=HYPERLINK("[Hyperlink.xlsx]Sheet"& Sheet4!I1 & "!A10","Go to Sheet")

Hyperlink.xlsx
ABCDEFGH
1LinkGo to Sheet
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Sheet1
Cell Formulas
RangeFormula
B1B1=HYPERLINK("[Hyperlink.xlsx]Sheet"& Sheet4!E1 & "!A10","Go to Sheet")



Hyperlink.xlsx
ABCDEFG
1Sheet Number3
2
3
4
5
Sheet4
 
Upvote 0

Forum statistics

Threads
1,213,567
Messages
6,114,342
Members
448,570
Latest member
rik81h

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