Good day all,
I am hoping to get some help with a formulae. I recently got help with another problem, and I am hoping y'all can help with this one also. I have managed to find formulae online which allow me to calculate YMWDHMs from a large number of minutes, however, I cannot seem to find anything which would help me tweak the formula to report back in the same format when considering a working day is 8 hours, and a working week is 5 days. Can anyone help with this specific issue? And to add to this, I would also like the result to ignore the specific units when there is a zero value.
This started out as something I figured was going to be relatively simple and has mutated into the foul spawn of something wretched and putrid.
Any assistance would be gratefully received.
Thanks
As you can see from the table H7 is returning a value of just over 6 years, however, with a working day and week, this should be much higher. I have a couple of helper rows L and M, though, it's been so long since I worked on this sheet, I can no longer remember the exact reason for each.
I am hoping to get some help with a formulae. I recently got help with another problem, and I am hoping y'all can help with this one also. I have managed to find formulae online which allow me to calculate YMWDHMs from a large number of minutes, however, I cannot seem to find anything which would help me tweak the formula to report back in the same format when considering a working day is 8 hours, and a working week is 5 days. Can anyone help with this specific issue? And to add to this, I would also like the result to ignore the specific units when there is a zero value.
This started out as something I figured was going to be relatively simple and has mutated into the foul spawn of something wretched and putrid.
Any assistance would be gratefully received.
Thanks
As you can see from the table H7 is returning a value of just over 6 years, however, with a working day and week, this should be much higher. I have a couple of helper rows L and M, though, it's been so long since I worked on this sheet, I can no longer remember the exact reason for each.
Cell Formulas | ||
---|---|---|
Range | Formula | |
G3:G16 | G3 | =ROUNDUP(IFERROR(60/E3,0),2)&" seconds" |
H3:I16 | H3 | =IF(INT(L3)*FLOOR(12*MOD(L3,1),1)=0,"",INT(L3)&" Years ")&IF(FLOOR(12*MOD(L3,1),1)=0,"",FLOOR(12*MOD(L3,1),1)&" Months ")&IF(FLOOR(30.5*MOD(L3*12,1),1)=0,"",FLOOR(30.5*MOD(L3*12,1),1)&" Days ")&TEXT(MOD(L3*12*30.5,1),"h"" hours ""m"" minute(s) """) |
L3:L16 | L3 | =(A3*B3*C3*D3*F3)/525600 |
M3:M16 | M3 | =A3*B3*D3*0.5/525600 |
E3:E16 | E3 | =A3*B3*C3*D3 |