What you are looking for is a dynamic hyperlink.
So, let's assume that you have on Sheet1
all the
- team members with the (column
B
)
- team leads and the (column
A
)
- reference / project numbers (column
C
).
On Sheet2
we have a table with various information and the same reference / project number in column E
.
Then you can add a new column D
to the table on Sheet1
which you might want to name Links
and the formula here should be:
=HYPERLINK("#Sheet2!E"&MATCH(D2,Sheet2!E:E,0),"Link to "&D2)
If you are using tables with named columns that you can also use:
=HYPERLINK("#Sheet2!E"&MATCH([@[Reference Number]],Sheet2!E:E,0),"Link to "&[@[Reference Number]])
Of course you can adjust the alternative text to something more suitable.
Maybe the following picture helps explaining the above:
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…