Excel returns FALSE sometimes.... why

Solved/Closed
plato2 Posts 1 Registration date Monday June 30, 2014 Status Member Last seen June 30, 2014 - Jun 30, 2014 at 06:53 PM
 plato - Jul 11, 2014 at 07:36 PM
I'm using this formula to show the persons age based on date of birth. In some cases it works but in others it returns FALSE. If I change the date of birth it is a hit and miss as to whether it displays the age or FALSE. I need it to reflect the age all the time and leave the cell blank if no date of birth is displayed. Any assistance appreciated.

=IF(ISBLANK(F2),"",IF(MONTH(TODAY())>MONTH(F2),YEAR(TODAY())-YEAR(F2),IF(AND(MONTH(TODAY())=MONTH(F2),DAY(TODAY())>=DAY(F2)),YEAR(TODAY()))))
Related:

1 response

Osama_bb11 Posts 21 Registration date Sunday May 25, 2014 Status Member Last seen September 25, 2014
Jul 1, 2014 at 02:40 AM
Hi

the false because of there are missing action

=IF(ISBLANK(F2),"",IF(MONTH(TODAY())>MONTH(F2),YEAR(TODAY())-YEAR(F2),IF(AND(MONTH(TODAY())=MONTH(F2),DAY(TODAY())>=DAY(F2)),YEAR(TODAY()), "??????")))
1
Thank you very much
0