Viewing 6 posts - 1 through 6 (of 6 total)
  • Spreadsheet gurus..
  • toys19
    Free Member

    This is so basic that I am ashamed. How do I convert hrs in time format to numbers to calculate billable time..

    EG I have a time sheet that records start and finish times and then a cell that calcs the diff. But its time format and I want to turn 08:00 hrs into 8 so I can multiply it by my billable hrly rate.

    Love and hugs in advance.

    footflaps
    Full Member

    Depends how the 08:00 is stored, if it’s a fixed length string you could use:

    =val(left(cell,2)) + val(right(cell,2)/60)

    toys19
    Free Member

    its ok sussed it thanks. Just multiply by 24 in number format.. Happy days.

    mikewsmith
    Free Member

    or the function Hour(Cell)

    MrGreedy
    Full Member

    The only thing to bear in mind is that depending on which format you have, you might get an oddity in how periods longer than one day are displayed – e.g. if your start time is 08:00 01/01/2012 and finish time is 20:00 03/01/2012 then the difference in hh:mm format will be 12:00 even though the underlying number that Excel has stored is 2.5. If you’re multiplying by 24 the total hours will be correct though, just make sure you don’t show the wrong figure to a client and confuse them!

    toys19
    Free Member

    Good tips, thanks people. Virtual love and hugs.

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Spreadsheet gurus..’ is closed to new replies.