Trying to calculate number of days taken for a training.
If the cells for Day 1 and Day 2 are null, I want to return zero, if both days are filled in, i want to return the number 2, other wise return the number 1.
Here is the formula I used:
=IF(AND(ISBLANK(m2),(ISBLANK(n2))),0,IF(and(not(ISBLANK(m2),and(not(isblank(n2),))2,1)
It appears as though it will work, I just get the Too many arguments error.
Any thoughts?
Thanks,
Kevin
If the cells for Day 1 and Day 2 are null, I want to return zero, if both days are filled in, i want to return the number 2, other wise return the number 1.
Here is the formula I used:
=IF(AND(ISBLANK(m2),(ISBLANK(n2))),0,IF(and(not(ISBLANK(m2),and(not(isblank(n2),))2,1)
It appears as though it will work, I just get the Too many arguments error.
Any thoughts?
Thanks,
Kevin