View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Roger Govier[_8_] Roger Govier[_8_] is offline
external usenet poster
 
Posts: 376
Default formula for adding up 3 different start and finish times

Hi

With your data in A2:F2 enter in G2
=MOD(B2-A2,1)+MOD(D2-C2,1)+MOD(F2-E2,1)
Format G2 as hh:mm

The MOD part of the formula will deal with any shifts crossing the 24
hour barrier.

If you want your result in decimal hours, then you would need
=24*(MOD(B2-A2,1)+MOD(D2-C2,1)+MOD(F2-E2,1))
and format the cell to the number of decimals you require.
This is because Excel stores times as a fraction of a day (24 hours).
--
Regards
Roger Govier

Shazza wrote:
Hi. Can any one tell me the formula for adding up 3 different start and
finish times within a 24 hour period.

I have set up a time sheet that has shifts of Morning, Afternoon and Evening
i enter in my start and finish times for each shift but can not figure out
how to add them all together.