r_know
07-20-2012, 02:30 PM
Dear All,
In my previous thread, I had asked the sum up based on segregation as per the total of 24 in first column and next column carry forward.
Now, in my sheet, I have changed 24 not as value but as time hrs:mm. (24:00), in column E.
Now below formula does not work, can you suggest how to modified for time format [h]:m.
=IF(SUM($E$4:$E4)<=24,MIN(24,SUM($E$5:$E5))-SUM($E$4:$E4),"")
and
=IF(SUM($E$5:$E5)<=24,"",E5-N(G5))
Regards,
RL>
http://www.vbaexpress.com/forum/showthread.php?t=42609
In my previous thread, I had asked the sum up based on segregation as per the total of 24 in first column and next column carry forward.
Now, in my sheet, I have changed 24 not as value but as time hrs:mm. (24:00), in column E.
Now below formula does not work, can you suggest how to modified for time format [h]:m.
=IF(SUM($E$4:$E4)<=24,MIN(24,SUM($E$5:$E5))-SUM($E$4:$E4),"")
and
=IF(SUM($E$5:$E5)<=24,"",E5-N(G5))
Regards,
RL>
http://www.vbaexpress.com/forum/showthread.php?t=42609