I thought this formula was ok but the result keeps changing. When excel calculates its ok and then I go and do something and suddenly its not.
When I went to evaluate formula if gives the text above.
Any ideas?
Thanks DK.
=IF(ISBLANK(!$AB34),IF(!$I34="R",0,IF(TEXT(EDATE(IF(!$AR34="P",TODAY(),!$J34),IF(!$AR34="P",0,!$AR34)/30),"yyyymm")=TEXT(!AV$5,"yyyymm"),!$T34,0)),IF(!$I34="R",0,IF(TEXT(EDATE(IF(!$AR34="P",TODAY(),!$AB34),IF(!$AR34="P",0,!$AR34)/30),"yyyymm")=TEXT(!AV$5,"yyyymm"),!$T34,0)))
AB34 is either blank or a date
I34 is either blank or R
AR34 is either blank or "P"
J34 is either blank or date
AV5 is date
T34 is blank or number
When I went to evaluate formula if gives the text above.
Any ideas?
Thanks DK.
=IF(ISBLANK(!$AB34),IF(!$I34="R",0,IF(TEXT(EDATE(IF(!$AR34="P",TODAY(),!$J34),IF(!$AR34="P",0,!$AR34)/30),"yyyymm")=TEXT(!AV$5,"yyyymm"),!$T34,0)),IF(!$I34="R",0,IF(TEXT(EDATE(IF(!$AR34="P",TODAY(),!$AB34),IF(!$AR34="P",0,!$AR34)/30),"yyyymm")=TEXT(!AV$5,"yyyymm"),!$T34,0)))
AB34 is either blank or a date
I34 is either blank or R
AR34 is either blank or "P"
J34 is either blank or date
AV5 is date
T34 is blank or number