I'm trying to set up a simple Excel spreadsheet to log times at work. What I need to is a formula to work out the difference between a start time and a finish time, and to show that difference as a decimal. For example, if I start work at 09:00:00 and finish at 17:45:00 (written exactly as shown on the spreadsheet) I would have worked 8 hours 45 minutes. What formula can I enter to automatically calculate the time and show it as a decimal (as 7.75?)
Yeh, I realised when it appeared on AB!
Just tried your formula and it sent the columns wild! Didn't work! I usually write formulae as =SUM(A1-B10) etc. What I'm having to do at the moment is to physically work out the exact times before I put hours worked in. My times are taken from a swipe in system. For example. I might swipe in at 08:51:00 and swipe out again at 16:32:00. So I sit with pen and paper to get to 7hrs 41mins. I then have to refer to a chart supplied by work to look up what 41 minutes are as a decimal, and then I can enter 7.? to get my times. Might be easier to give up work!
I was interested in this question as I have been keeping a log of hours worked for several years now, but have never managed to convert it to decimals automatically. So now I have the answer!!! If I can offer one small change that may make entering info a bit easier, format your 'time' cells thus-- Format / Cells / Custom / scroll down the 'type box', until you find "hh:mm", click OK. this will save you having to put the seconds in.