Automatically link to a cell in another sheet if value is the same

后端 未结 1 1124
面向向阳花
面向向阳花 2020-12-12 05:07

I have a status update sheet (sheet1) in which team members have a line per action, and each action has a reference number (s1, columnA).

In another sheet (

相关标签:
1条回答
  • 2020-12-12 05:25

    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:

    0 讨论(0)
提交回复
热议问题