How to avoid volitile functions in hyperlinks

Skysurfer

Board Regular
Joined
Apr 19, 2004
Messages
202
Office Version
  1. 2019
Platform
  1. Windows
  2. MacOS
Hi,

I am using the hyperlink formula below in a table of contents. In one column, I have 50 range names and in the next column hyperlink formulas that reference those range names. Once the range names are created, I simply copy my one hyperlink formula down alongside the range names.

Thing is, my formula uses a LOT of volatile functions. Is there a way to do this without so many INDIRECT functions? Or does is this type of formula not so resource intensive to even worry about it?

Code:
=HYPERLINK("#'"&MID(CELL("filename",INDIRECT(C13)),FIND("]",CELL("filename",INDIRECT(C13)))+1,256)&"'!A1",MID(CELL("filename",INDIRECT(C13)),FIND("]",CELL("filename",INDIRECT(C13)))+1,256))

Thanks,

Lawrence
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Hello Skysurfer,

Depending on how many links you have, it may be nothing to worry about in terms of performance. If you do notice that is slowing down the workbook then you may want to use a volatile UDF macro to create the hyperlink addresses instead.
 
Upvote 0

Forum statistics

Threads
1,224,569
Messages
6,179,605
Members
452,928
Latest member
VinceG

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