Thread: IF function
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Allllen Allllen is offline
external usenet poster
 
Posts: 341
Default IF function

You always get that, because the first part of your formula always gives true
in other words
= x = 0 < 365 returns true for all values of x

if you don't believe me, just go and type
= 1 = 0 < 365 in a cell
then type
= NOW()-AF2=0<365 and you will see that it is always true

And of course 0 < 365. Always.
--
Allllen


"Pasty" wrote:

This is the formula to calculate if assessments have happened, going to
happened or hasn't happened

=IF(NOW()-AF2=0<365,"ASSESSMENT CARRIED OUT THIS
YEAR",IF(NOW()-AF2<0,"ASSESSMENT PLANNED FOR THIS YEAR BUT NOT CARRIED
OUT",IF(NOW()-AF2365,"ASSESSMENT NOT PLANNED OR FAILED TO HAPPEN",)))

Every time I change the figure to test the function the response is
"ASSESSMENT CARRIED OUT THIS YEAR" regardless of the figure it's working out.

Where am I going wrong?