Auto fill sheet reference in hyperlink formula

Giovannii

New Member
Joined
Nov 1, 2010
Messages
2
Hello everyone.

I am trying to auto-fill the sheet references(indicated in red) in the following equations

<table border="0" cellpadding="0" cellspacing="0" width="540"><col style="width: 405pt;" width="540"> <tbody><tr style="height: 12.75pt;" height="17"> <td class="xl66" style="height: 12.75pt; width: 405pt;" height="17" width="540">=HYPERLINK("#1068!A1", "2455-" & H1073)</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl66" style="height: 12.75pt;" height="17">=HYPERLINK("#1068!A1", "2455-" & H1074)</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl66" style="height: 12.75pt;" height="17">=HYPERLINK("#1068!A1", "2455-" & H1075)</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl66" style="height: 12.75pt;" height="17">=HYPERLINK("#1068!A1", "2455-" & H1076)</td> </tr> </tbody></table>

It should read as follows:
<table border="0" cellpadding="0" cellspacing="0" width="540"><col style="width: 405pt;" width="540"> <tbody><tr style="height: 12.75pt;" height="17"> <td class="xl66" style="height: 12.75pt; width: 405pt;" height="17" width="540">=HYPERLINK("#1068!A1", "2455-" & H1073)</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl66" style="height: 12.75pt;" height="17">=HYPERLINK("#1069!A1", "2455-" & H1074)</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl66" style="height: 12.75pt;" height="17">=HYPERLINK("#1070!A1", "2455-" & H1075)</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl66" style="height: 12.75pt;" height="17">=HYPERLINK("#1071!A1", "2455-" & H1076)</td> </tr> </tbody></table>.

The red indicates sheets in a workbook. I need the hyperlink to read 2455-####, which is the latter part of the hyperlink formula.

I have tried the INDIRECT formula in combination with with this formula, but i did not have any luck. I do have another column that i can reference with the sheet numbers.

Any help would be GREATLY appreciated.

Thank you.
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Not sure what you're trying to do -- maybe this?

=HYPERLINK("#" & H1073 & "!A1", "2455-" & H1073)
 
Upvote 0
Thank you so so so so much.

I have tried a variation of that, but my quotes were in the wrong place:LOL:.

Thank you very very kindly. :ROFLMAO:
 
Upvote 0

Forum statistics

Threads
1,214,628
Messages
6,120,618
Members
448,973
Latest member
ChristineC

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