Thank you, it works with =IF(OR(A1={1000,2000,3000,4000}),TEXT(TODAY(),"mm/dd/yyyy") but i get FALSE when there is no data, would you please show how to get rid off this error?Hi ,
Inspite of my earlier post , there is no clarification !
Try this :
=IF(OR(A1={1000,2000,3000,4000}),TODAY(),"No date specified")
This is to be entered as an array formula , using CTRL SHIFT ENTER.
Formatting can be done on the cell where this formula is being entered , as if the format is included within the formula , the output will be TEXT , and cannot be used in calculations ; if you still want this , use this :
=IF(OR(A1={1000,2000,3000,4000}),TEXT(TODAY(),"mm/dd/yyyy"),"No date specified")
Again , this is to be entered as an array formula , using CTRL SHIFT ENTER.
Narayan
I set up a sheet with following:I did not see if the question was answered...
If you use CSE (Ctrl+Shift+Enter) on a formula that does not need it, there are no adverse effects, correct? The only adverse effect is when CSE is needed and NOT used?
ET
---------------------------------------------------------------------------------------------
“Perseverance is failing 19 times requesting an upgrade and succeeding anyway
using Excel 2007.” - Eloise T.
(Still using Excel 2007)
Public Sub SomeTest()
t = Timer
Sheet1.Calculate
Debug.Print Timer - t
End Sub
I doubt any real life situation will be simpler like the one I've posted. My main intent was to show that it may add to calculation time and potentially slow down things.Thank you. Good to know. So if you use CSE and don't need it, the only downside is a few microseconds lost and no calculation errors.
...and nice timer VBA!
ET
------------------------------------------------------------------------------------------
“Perseverance is failing 19 times requesting an upgrade and succeeding anyway using Excel 2007.” - Eloise T.
(Still using Excel 2007)