nbk95jg
New Member
- Joined
- May 5, 2011
- Messages
- 21
Hey everyone,
I have a formula running (in column AN) to calculate how long it took do something (in days)
=IF(AL2="Outstanding",DATEDIF(H2,TODAY(),"d"),IF(AL2="Final",DATEDIF(H2,T2,"d"),""))
Column AL2 = Status if the question is answered (final) or still needs to be answered (outstanding)
Column H2 = Date a question was created
Column T2 = Date the question was answered (therefore in a final status)
Sometimes due to system issues out of my control, column H will have a date after the date in column T2, therefore the formula returns #NUM!
In other words:
working scenario:
H: 10/4/12
T: 10/7/12
AL: Final
AN: 3
#NUM! scenario:
H: 10/4/12
T: 10/3/12
AL: Final
AN: #NUM!
How can I add ISERROR to ignore the #NUM! responses?
Thanks
I have a formula running (in column AN) to calculate how long it took do something (in days)
=IF(AL2="Outstanding",DATEDIF(H2,TODAY(),"d"),IF(AL2="Final",DATEDIF(H2,T2,"d"),""))
Column AL2 = Status if the question is answered (final) or still needs to be answered (outstanding)
Column H2 = Date a question was created
Column T2 = Date the question was answered (therefore in a final status)
Sometimes due to system issues out of my control, column H will have a date after the date in column T2, therefore the formula returns #NUM!
In other words:
working scenario:
H: 10/4/12
T: 10/7/12
AL: Final
AN: 3
#NUM! scenario:
H: 10/4/12
T: 10/3/12
AL: Final
AN: #NUM!
How can I add ISERROR to ignore the #NUM! responses?
Thanks