Hi,
I'm attempting to calculate the days between two dates (normally easy enough).
My problem is that the columns that contain the two dates can also hold text and so have the general cell format.
Can anyone advise on where I'm going wrong in my formula?
=IF(AND(O1>0, IsDate(O1),NOT(ISTEXT(O1)),M1>0,IsDate(M1),NOT(ISTEXT(M1))),O1-M1,"?")
Thanks,
K
I'm attempting to calculate the days between two dates (normally easy enough).
My problem is that the columns that contain the two dates can also hold text and so have the general cell format.
Can anyone advise on where I'm going wrong in my formula?
=IF(AND(O1>0, IsDate(O1),NOT(ISTEXT(O1)),M1>0,IsDate(M1),NOT(ISTEXT(M1))),O1-M1,"?")
Thanks,
K