Perhaps AD2226 is not blank, but contains spaces? Does =LEN(AD2226) return
zero, or something longer?
If you want to check for AD2226 really having a number, perhaps
=IF(ISNUMBER(AD2226),IF(DATEDIF(Z2226,AD2226,"m")=0,"",DATEDIF(Z2226,AD2226,"m")),"")--David Biddulph"Shannan" <
[email protected]> wrote in messagenews:
[email protected]...>I just cannot figure this out. Row 2226 has the following formula in column> AG:>=IF(AD2226="","",IF(DATEDIF(Z2226,AD2226,"m")=0,"",DATEDIF(Z2226,AD2226,"m")))> Where AD2226 is blank (formatted to display as yy-mm-dd) and Z2226 has> 04/09/2008 formatted to display as 08-09-04. This gives me the erroe> "VALUE!".>> And yet, the row above, 2225 has the same formula in column AG:>=IF(AD2225="","",IF(DATEDIF(Z2225,AD2225,"m")=0,"",DATEDIF(Z2225,AD2225,"m")))> Where AD2225 is blank (formatted to display as yy-mm-dd) and Z2225 has> 04/03/2008 formatted to display as 08-03-04. And this one is working fineand> stays blank like it should.>> "Shannan" wrote:>>> "Shannan" wrote:>>>> Oh, but that was only the problem for the one that was giving me a"#NUM!">> error. The one