Make named formula volatile ?

Jaafar Tribak

Well-known Member
Joined
Dec 5, 2002
Messages
9,806
Office Version
  1. 2016
Platform
  1. Windows
Hi.

I have defined a named formula namely HasComment which returns TRUE if the cell has a comment and which refers to the following XML function :
=GET.CELL(46)
When I enter the named formula in a cell it works but it is not volatile .
I have tried linking it to the Now() Function as follows :
=OR(GET.CELL(46),NOW()*0)
But it is still not volatile and I still have to select the cell and press F2 to update it.

Any thoughts ?
 
"why is that the ROWS Function seems to force an update while Now doesn't ? They are both volatile though."

ROWS doesn't force an update.
The recalc only happens when one of the precedent cells is changed. Since the argument of ROWS is 1:65536, every cell on the sheet is a precedent cell. COUNTA(1:65536) or SUM(1:65536) would work as well as ROWS, except that putting them in a cell would cause a circular reference
The reason for using ROWS is that it allows a circular reference without causing an error.

Thanks for the explanation Mike.
 
Upvote 0

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

Forum statistics

Threads
1,224,522
Messages
6,179,297
Members
452,903
Latest member
Knuddeluff

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