Indirect to non-volatile

pto160

Well-known Member
Joined
Feb 1, 2009
Messages
505
Office Version
  1. 365
Platform
  1. Windows
I am just wondering why Microsoft have not made the indirect function non-volatile. In 1997, they changed the index function to non-volatile.
 
I downloaded the zip file. Where do I copy the formula to test for volatility?
 
Upvote 0
Using VolatileFuncs.xls - place your function of interest in any cell and then use:

=CalcSeqCountRef(cellwithformula)
(change that in red to be the cell reference containing the formula you're testing)

If you press F9 and the number generated by the above changes then the implication is that Function is Volatile - if not Volatile the value will remain static.
 
Upvote 0
Great. So I tested my formula and it looks like it is non volatile.
 
Upvote 0
So how would I make this formula work using what you have here

=HLOOKUP('400'!$F$1,'400'!$J$1:$M$2,2,FALSE) - (400 is the name of the sheet and is contained in column A)

=HLOOKUP(INDIRECT("'"&$A1&"'!$F$1"),INDIRECT("'"&A1&"'!$J$1:$M$2"),2,FALSE) - (using Indirect/ does not work for me and generates #ref error)

Yes

A very simple example:

A1 = x
A2 = y
A3 = p
A4 = v

You want to create a dynamic range for column A.

=$A$1:INDEX($A:$A,COUNTA($A:$A))
 
Upvote 0

Forum statistics

Threads
1,226,883
Messages
6,193,488
Members
453,803
Latest member
hbvba

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