On Monday at (b12)19:54:57 we started a job that ran until the next day at (d12)12:20 pm. How can I figure out the total number of hours? I tried D12 – B12.
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
two days time period (Office 2003)
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » two days time period (Office 2003)
- This topic has 5 replies, 4 voices, and was last updated 20 years, 4 months ago.
Viewing 1 reply threadAuthorReplies-
WSHansV
AskWoody LoungerFebruary 4, 2005 at 9:42 pm #926914The best solution is to put the date+time in the cells. You can then use =D12-B12. This will be a date/time value. If you really need the number of hours, multiply by 24: =24*(D12-B12)
Alternatively, you can put the dates and times in separate cells, say date1 in A12, time1 in B12, date2 in C12, time2 in D12. You can then use =(C12+D12)-(A12+B12). Again, this will be a date/time value. To get the number of hours, use =24*((C12+D12)-(A12+B12)).
WSAndrewO
AskWoody LoungerFebruary 6, 2005 at 6:32 am #927044… and the key to displaying hours in time format is to format the cell properly.
Either do the maths as Hans suggests and get decimal hours by dividing by 24 into a number field
Or use custom format and set it to [h]:mm:ss where th square brackets are required – then dividing by 24 isn’t needed.
-
WSdreyes
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
-
June 2025 Office non-Security Updates
by
PKCano
2 hours, 48 minutes ago -
Secure Boot Update Fails after KB5058405 Installed
by
SteveIT
32 minutes ago -
Firefox Red Panda Fun Stuff
by
Lars220
2 hours, 44 minutes ago -
How start headers and page numbers on page 3?
by
Davidhs
13 hours, 8 minutes ago -
Attack on LexisNexis Risk Solutions exposes data on 300k +
by
Nibbled To Death By Ducks
7 hours, 43 minutes ago -
Windows 11 Insider Preview build 26200.5622 released to DEV
by
joep517
21 hours, 49 minutes ago -
Windows 11 Insider Preview build 26120.4230 (24H2) released to BETA
by
joep517
21 hours, 50 minutes ago -
MS Excel 2019 Now Prompts to Back Up With OneDrive
by
lmacri
11 hours, 32 minutes ago -
Firefox 139
by
Charlie
4 hours, 7 minutes ago -
Who knows what?
by
Will Fastie
16 hours, 55 minutes ago -
My top ten underappreciated features in Office
by
Peter Deegan
22 hours, 34 minutes ago -
WAU Manager — It’s your computer, you are in charge!
by
Deanna McElveen
16 hours, 57 minutes ago -
Misbehaving devices
by
Susan Bradley
1 day ago -
.NET 8.0 Desktop Runtime (v8.0.16) – Windows x86 Installer
by
WSmeyerbos
2 days, 4 hours ago -
Neowin poll : What do you plan to do on Windows 10 EOS
by
Alex5723
1 hour, 51 minutes ago -
May 31, 2025—KB5062170 (OS Builds 22621.5415 and 22631.5415 Out-of-band
by
Alex5723
2 days, 3 hours ago -
Discover the Best AI Tools for Everything
by
Alex5723
1 day, 2 hours ago -
Edge Seems To Be Gaining Weight
by
bbearren
1 day, 17 hours ago -
Rufus is available from the MSFT Store
by
PL1
2 days, 1 hour ago -
Microsoft : Ending USB-C® Port Confusion
by
Alex5723
3 days, 4 hours ago -
KB5061768 update for Intel vPro processor
by
drmark
1 day, 4 hours ago -
Outlook 365 classic has exhausted all shared resources
by
drmark
1 day, 2 hours ago -
My Simple Word 2010 Macro Is Not Working
by
mbennett555
3 days ago -
Office gets current release
by
Susan Bradley
3 days, 2 hours ago -
FBI: Still Using One of These Old Routers? It’s Vulnerable to Hackers
by
Alex5723
4 days, 16 hours ago -
Windows AI Local Only no NPU required!
by
RetiredGeek
4 days, 1 hour ago -
Stop the OneDrive defaults
by
CWBillow
4 days, 17 hours ago -
Windows 11 Insider Preview build 27868 released to Canary
by
joep517
5 days, 3 hours ago -
X Suspends Encrypted DMs
by
Alex5723
5 days, 5 hours ago -
WSJ : My Robot and Me AI generated movie
by
Alex5723
5 days, 5 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.