Dynamic table of contents in Excel with formulas (no VBA)

preview_player
Показать описание
Create a table of contents with each sheet's name as a clickable hyperlink taking you to that sheet using formulas only, with the brand new release of Microsoft 365 dynamic Array functions VSTACK and TEXTAFTER, also using the longer time functions, CELL, HYPERLINK and the 3D references formula concept means you only need to list the first and last sheet and every sheet in between will be dynamically included, so if sheets are deleted then its fully dynamic but if new ones are inserted, a small copy & paste adjustment is needed for each sheet.

Рекомендации по теме
Комментарии
Автор

Great tips David. Thanks for this!
Couple of thoughts:

1. On your 3D reference you needn't change your syntax manually. Instead you could type "=" into the cell where you want the formula, then select your first sheet with a left mouse click, then hold shift, left mouse click your last sheet and then select the cell(s) in that last sheet and Excel will write out your reference correctly.
2. You could have used a dynamic reference in the HYPERLINK formula that automatically spills your hyperlinks based on the VSTACK array spilled. It would look like this: =HYPERLINK("#'"&C6#&"'!A1", C6#)
So the # references would automatically sort out your 0's without needing to change cell formatting. You would however need to format the spilled references to also look like a hyperlink as Excel doesn't do that automatically.

RenierWessels
Автор

Thanks for the tip, it will be helpful.
To complement your solution, you could add a # at the end of the HYPERLINK function's friendly name reference and it will automatically extend to the right number of sheets (e.g. =HYPERLINK("#'" & C6 & "'!A1", C6#))

labonnes
Автор

Hey @David I have a tip for you
To select all sheets, Just Right-click a sheet tab, and then click the Select All Sheets option 🤯🤯🤯🤯

LotfiGARZOUN
Автор

Cool, Freedom from old method of VBA named manager

rajanghadi
Автор

I'm sure you have great content but you are talking so fast I can barely understand you. Slow down a little please.

SandraRotenberg