J
joannanpa
I am trying to calculate the number of calendar days overdue based upon
a scheduled date (H32) and an actual date (J32).
I need to have a function that will address 3 possible scenarios:
1. Where Actual date (J32) and scheduled date (H32) have occurred (if
calculation is negative, I need the result to be 0-I'm having problems
with this)
2. Where actual date (J32) has not occurred yet and scheduled date
(H32) has past, I need the net days calculated from today's date
3. Where scheduled date (H32) is not due yet (and actual is not
entered) I need the result to be zero.
This is what I have so far:
=IF(H32>TODAY(),0,IF(H32>J32,0,IF(J32=0,TODAY()-H32,J32-H32)))
Any help is greatly appreciated. Thanks in advance!
a scheduled date (H32) and an actual date (J32).
I need to have a function that will address 3 possible scenarios:
1. Where Actual date (J32) and scheduled date (H32) have occurred (if
calculation is negative, I need the result to be 0-I'm having problems
with this)
2. Where actual date (J32) has not occurred yet and scheduled date
(H32) has past, I need the net days calculated from today's date
3. Where scheduled date (H32) is not due yet (and actual is not
entered) I need the result to be zero.
This is what I have so far:
=IF(H32>TODAY(),0,IF(H32>J32,0,IF(J32=0,TODAY()-H32,J32-H32)))
Any help is greatly appreciated. Thanks in advance!