This seems such a simple thing to do, that it is driving up the wall that I can’t figure it out. I am attempting to figure out how long a specific consultant is used. I have three columns. The first with the time we begin contact with the consultant (example we call him at 1:30 PM). The second column is the end of the contact (we hang up at 2:45 PM). What formula do I enter into the third column to figure out how many hours and minutes are spent (in this case I would want it to say 1:15 or 1.25. Even 75 would be fine. ) How do I do this?
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Calculating Elasped Time (2000)
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Calculating Elasped Time (2000)
- This topic has 17 replies, 10 voices, and was last updated 23 years, 1 month ago.
AuthorTopicWSGirlFriday
AskWoody LoungerNovember 6, 2001 at 5:13 pm #362465Viewing 1 reply threadAuthorReplies-
WSColinBurrows
AskWoody LoungerNovember 6, 2001 at 5:38 pm #550480Times are stored as fractions of a day, so that when you enter 1:30 PM in a cell it actually stores 0.5625. (What it actually displays is a separate issue, depending on how the cell is formatted.(
Consequently, to diplay the difference in hours, you would just need the formula=(B1-A1)*24
It won’t work if your times aren’t as I described. If not, post back.
-
WSGirlFriday
AskWoody Lounger
-
-
H. Legare Coleman
AskWoody PlusNovember 6, 2001 at 8:53 pm #550537If you want the answer displayed in hours and minutes, and the start time is in A1, and the end time is in B1, then use the formula:
=B1-A1
Then format the cell with the format:
[h]:mm
The brackets around the h are important if the total time might be more than 24 hours.
If you want the time in hours and fractional part of an hour, then use the formula:
=(B1-A1)*24
and format the cell as a number with as many decimals as you need.
-
WSCharliesDaughter
AskWoody LoungerDecember 5, 2001 at 12:43 am #555984I am not having a problem calculating the elapsed time but cannot get it to add up correctly. For example, given the following:
Date In Time In Date Out Time Out Hrs.W
26-Nov 17:22 27-Nov 5:43 12:21
27-Nov 17:20 28-Nov 5:47 12:27
28-Nov 17:25 29-Nov 3:43 10:18
29-Nov 17:30 30-Nov 6:00 12:30
30-Nov 17:23 1-Dec 6:40 13:17
1-Dec 17:31 2-Dec 5:55 12:241:17 Total Hrs./Minutes
Obviously the hours/minutes total should not be 1:17 but I cannot seem to convert the numbers so they add up properly. It must be late in the day and I must be awfully tired because this as I remember it was simple first year stuff but I do not use Excel a lot and am stumped. My file is attached if it helps and of course your help will as always be much appreciated.
-
H. Legare Coleman
AskWoody PlusDecember 5, 2001 at 2:02 am #555993You had two problems in that sheet. First, the formula to calculate hours should be 1-Start+Finish, not 24-Start+Finish. That 24 is adding an extra 23 days (552 hours) to each hour calculation. The 552 hours was not displaying because you were also using the incorrect format for the cells. The format needs to be [h]:mm (with the brackets around the h) to show elapsed time. The format you were using lops off all time over 23 hours 59 minutes. I have fixed this in the attached workbook.
Your formula is still going to fail if the person clocks in and out in the same day. If you have that possibility, you will have to come up with an IF statement that uses two different formula based on the Clock In and Out days.
On Sheet 2 of the attached workbook I have shown how I would do this. It is much simpler to use Excel Date/Time cells to put the date and time into a single cell. If you can do that, then the formula is MUCH simpler, and always works.
-
WSCharliesDaughter
AskWoody LoungerDecember 5, 2001 at 2:18 am #555995Thanks so much – this is exactly what I needed. The fact is I am going to give the lady who does the posting two separate sheets to use. One for people on the day shift who always arrive and leave on the same day, and the other the end result of what you just sent me. Since she is someone who is not very computer literate to begin with I need to make it as simple as possible for her to do these calculations based on the time cards without her making 12 hour mistakes as she did this week which we now owe the employee money for!
Thanks again!
-
WSCaesar3
AskWoody Lounger -
WSSammyB
AskWoody Lounger -
WSCaesar3
AskWoody Lounger -
WSBat17
AskWoody Lounger -
WSCaesar3
AskWoody Lounger -
WSSammyB
AskWoody LoungerFebruary 13, 2002 at 5:21 pm #570130Smoke and mirrors. I know, it boggles the brain. When you are as old as I am, you just don’t think about it.
OK, I’ll try to explain:
Enter 12 hours and 10 minutes in cell A1 as 12:10.
This is just a little over one-half day.
A1 now contains 12:10
Select A1 and use Format | Cells | Number Tab. Change the format from Time to Number and press OK.
Now you see 0.51
This is how Excel keeps time internally — as fractional days.
Select B1 and type =A1*24
Excel displays 12.16667, the answer you want
Select A1 and change the format back to time.
Cool! Now if I could just understand and explain array formulas! Have fun! –Sam -
WSJohnBF
AskWoody LoungerFebruary 13, 2002 at 6:44 pm #570145>understand and explain array formulas
.. especially considering that understanding and explaining are two very different things! I’m kind of starting to understand array formulas by visualising the arrays as columnar tables of booleans and values, but
will freeze over before I can explain them!
-
WSAuntLinda1
AskWoody Lounger -
WSServando
AskWoody Lounger -
WSAuntLinda1
AskWoody LoungerMarch 22, 2002 at 8:31 pm #578084 -
WSAuntLinda1
AskWoody Lounger
-
-
-
-
Viewing 1 reply thread -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
89 million Steam account details just got leaked,
by
Alex5723
3 hours, 13 minutes ago -
KB5058405: Linux – Windows dual boot SBAT bug, resolved with May 2025 update
by
Alex5723
3 hours, 21 minutes ago -
A Validation (were one needed) of Prudent Patching
by
Nibbled To Death By Ducks
3 hours, 30 minutes ago -
Master Patch Listing for May 13, 2025
by
Susan Bradley
4 hours, 3 minutes ago -
Installer program can’t read my registry
by
Peobody
4 hours, 36 minutes ago -
How to keep Outlook (new) in off position for Windows 11
by
EspressoWillie
16 hours, 51 minutes ago -
Intel : CVE-2024-45332, CVE-2024-43420, CVE-2025-20623
by
Alex5723
14 hours, 35 minutes ago -
False error message from eMClient
by
WSSebastian42
14 hours, 29 minutes ago -
Awoke to a rebooted Mac (crashed?)
by
rebop2020
23 hours, 34 minutes ago -
Office 2021 Perpetual for Mac
by
rebop2020
1 day ago -
AutoSave is for Microsoft, not for you
by
Will Fastie
34 minutes ago -
Difface : Reconstruction of 3D Human Facial Images from DNA Sequence
by
Alex5723
1 day, 4 hours ago -
Seven things we learned from WhatsApp vs. NSO Group spyware lawsuit
by
Alex5723
5 hours, 20 minutes ago -
Outdated Laptop
by
jdamkeene
1 day, 9 hours ago -
Updating Keepass2Android
by
CBFPD-Chief115
1 day, 15 hours ago -
Another big Microsoft layoff
by
Charlie
1 day, 14 hours ago -
PowerShell to detect NPU – Testers Needed
by
RetiredGeek
18 hours, 14 minutes ago -
May 2025 updates are out
by
Susan Bradley
7 hours, 51 minutes ago -
Windows 11 Insider Preview build 26200.5600 released to DEV
by
joep517
1 day, 20 hours ago -
Windows 11 Insider Preview build 26120.3964 (24H2) released to BETA
by
joep517
1 day, 20 hours ago -
Drivers suggested via Windows Update
by
Tex265
1 day, 20 hours ago -
Thunderbird release notes for 128 esr have disappeared
by
EricB
1 day, 18 hours ago -
CISA mutes own website, shifts routine cyber alerts to X, RSS, email
by
Nibbled To Death By Ducks
2 days, 3 hours ago -
Apple releases 18.5
by
Susan Bradley
1 day, 22 hours ago -
Fedora Linux 40 will go end of life for updates and support on 2025-05-13.
by
Alex5723
2 days, 5 hours ago -
How a new type of AI is helping police skirt facial recognition bans
by
Alex5723
2 days, 5 hours ago -
Windows 7 ISO /Windows 10 ISO
by
ECWS
14 hours, 12 minutes ago -
No HP software folders
by
fpefpe
2 days, 13 hours ago -
Which antivirus apps and VPNs are the most secure in 2025?
by
B. Livingston
1 day, 10 hours ago -
Stay connected anywhere
by
Peter Deegan
2 days, 18 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.