Volatile IF Statements

jamescooper

Well-known Member
Joined
Sep 8, 2014
Messages
840
=IF(AND(W6<>"",VALUE(W6)=VALUE(TODAY()+1)),"Due in 24 Hours",1)

Hello,

Why is the above formulas second part of the If statement volatile?

This bit:

VALUE(W6)=VALUE(TODAY()+1))

Many thanks.
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
What do you mean by volatile?
Code:
[LEFT][COLOR=#333333][FONT=Verdana]VALUE(W6)=VALUE(TODAY()+1))[/FONT][/COLOR][/LEFT]
will always be true or false.

By the way, what is the point of saying "if W6 is not empty and equals tomorrow"? If it equals tomorrow, it is already not empty
And what is the format of W6?
 
Last edited:
Upvote 0
Today is a volatile function. Anytime the sheet updated it checks the system date.
 
Upvote 0
The formula is volatile, because Today() is a volatile function.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,160
Members
453,021
Latest member
Justyna P

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