Hi.
I've created an elapsed time (formatted as [h]) from this formula:-
=(NETWORKDAYS.INTL(B2,C2,1,Holidays!$A$1:$A$100)-1)*("17:00"-"9:00")+IF(NETWORKDAYS.INTL(C2,C2,1,Holidays!$A$1:$A$100),MEDIAN(MOD(C2,1),"9:00","17:00"),"17:00")-MEDIAN(NETWORKDAYS.INTL(B2,B2,1,Holidays!$A$1:$A$100)*MOD(B2,1),"9:00","17:00")+0.001
However, now I have my result - I can't work with the data in it. Excel doesn't seem to want to allow me to write an if statement on the value. Basically, I'm trying to say in another column, if elapsed time is <=8 hours then "Pass", otherwise "Fail".
Any pointers on how I can achieve this would be appreciated.
thanks.
I've created an elapsed time (formatted as [h]) from this formula:-
=(NETWORKDAYS.INTL(B2,C2,1,Holidays!$A$1:$A$100)-1)*("17:00"-"9:00")+IF(NETWORKDAYS.INTL(C2,C2,1,Holidays!$A$1:$A$100),MEDIAN(MOD(C2,1),"9:00","17:00"),"17:00")-MEDIAN(NETWORKDAYS.INTL(B2,B2,1,Holidays!$A$1:$A$100)*MOD(B2,1),"9:00","17:00")+0.001
However, now I have my result - I can't work with the data in it. Excel doesn't seem to want to allow me to write an if statement on the value. Basically, I'm trying to say in another column, if elapsed time is <=8 hours then "Pass", otherwise "Fail".
Any pointers on how I can achieve this would be appreciated.
thanks.