Hyperlinks in data table

Mackbay

New Member
Joined
May 25, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hello,

I have two sheets, first of them has a data table with the income of a list of 14 companies during 2018 and 2019. The other sheet I've a data table with a list of these companies and next to the name an hiperlink. When it's selected, it transports you to the cell located in the row of the company.

It's important that both are inside the data table because this is an example file. The original file has 6000 thousand companies and 500 colums of information, therefore it has to have the information well organized, then it's needed to be in data table.

In the table that has the hyperlinks, the formula of the hyperlinks its:

=HYPERLINK("#INDEX(Table2.1[#All];MATCH(A3;Table2.1[[#All];[Empresa]];0);MATCH(Table2.1[[#Headers];[year(2018)]];Table2.1[#Headers];0))";CONCATENATE("Link"))

It works perfectly, but has a little problem. If I decide to sort the table it makes that the cell with the formula that i wrote down continues pointing the "A3" cell even if when sorting it's in another row. The solution would be changing the "A3" for the name of the column.

=HYPERLINK("#INDEX(Table2.1[#All];MATCH([@Empresa];Table2.1[[#All];[Empresa]];0);MATCH(Table2.1[[#Headers];[year(2018)]];Table2.1[#Headers];0))";CONCATENATE("Link"))

But if I do it, the problem is the hyperlink stops to work.... anyone could help me how to solve this problem?

In addition, If I have "A3" in the 3rd row, in 4th should be "A4", etc. but If by mistake I overwrite all column with the formula (don't forget that it's a data table) all cells would point the same cell ej. "A3". Is there any solution for this problem? I suppose that solving the first question would solve this one.

Thanks a lot,

Best regards,
 

Attachments

  • Screenshot 2022-05-25 at 22.55.32.png
    Screenshot 2022-05-25 at 22.55.32.png
    75.5 KB · Views: 15
  • Screenshot 2022-05-25 at 23.12.20.png
    Screenshot 2022-05-25 at 23.12.20.png
    90.9 KB · Views: 13

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Forum statistics

Threads
1,224,813
Messages
6,181,111
Members
453,021
Latest member
Justyna P

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