M
murkaboris
I need to calculated number of days between two dates where some of the
entries didn't occur yet thus have a "-" sign in the cell. The cells are
formatted in date format of MM/DD/YY.
I've tried following formulas that work if both dates are populated but give
me a #VALUE! error if one of the cells has the "-" sign it.
Does anybody know of any other way to include it so if the sign is there the
formula calculates the difference all the way to today?
=IF(B1="",TODAY(),B1)-A1
=IF(B1<>"",B1-A1,TODAY()-A1)
=IF(B1="-",TODAY(),B1)-A1
all of the return the same error and work only of both dates are populated.
Please help.
Thank you
Monika
entries didn't occur yet thus have a "-" sign in the cell. The cells are
formatted in date format of MM/DD/YY.
I've tried following formulas that work if both dates are populated but give
me a #VALUE! error if one of the cells has the "-" sign it.
Does anybody know of any other way to include it so if the sign is there the
formula calculates the difference all the way to today?
=IF(B1="",TODAY(),B1)-A1
=IF(B1<>"",B1-A1,TODAY()-A1)
=IF(B1="-",TODAY(),B1)-A1
all of the return the same error and work only of both dates are populated.
Please help.
Thank you
Monika