Forum Discussion

nmorley1665's avatar
nmorley1665
Copper Contributor
Sep 12, 2024
Solved

Time conversion

Hello,   I need some help with converting time. I have a spreadsheet with start time, finish time and lunch break. An example is   07.00AM - 03.06PM less 0.30 lunch is a 7:36 hour day. I need a ...
  • mathetes's avatar
    Sep 12, 2024

    nmorley1665 

     

    Try this:

     

    =((B4-A4)-C4)*24

     

     

    You will need to format the result (in D4 above) as a number rather than as a time. But that math works just fine.

     

    The "trick" if it can be called that, is that minutes are stored as decimal fractions of the 24 hours. That's why the number that results from the figures in the parentheses needs to be multiplied by 24.

Resources