Formula for differences in dates with times

Stef9910

Board Regular
Joined
Nov 2, 2022
Messages
72
Office Version
  1. 2010
Platform
  1. Windows
Hello awesome forum,

I know this question is probably basic, but cannot work it out to give me the correct amount of days, hours and minutes.

I am trying to find the difference between the following,

8/11/2022 8:55:00 PM and 15/12/2022 2:02:00 PM

Manually I know the answer is 36 days 17 hours and 7 minutes

Please could you help me a formula?
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Give this a try:

Book2
ABC
1FromToResult
28/11/2022 20:5515/12/2022 14:0236 Days 17 Hrs 7 Mins
Sheet1
Cell Formulas
RangeFormula
C2C2=INT(B2-A2) & " Days " & HOUR(B2-A2) & " Hrs " & MINUTE(B2-A2) & " Mins"
 
Upvote 0
Solution
Thank you so much Alex,
Just what I needed, worked brilliantly,
Thank you
Stefan
 
Upvote 0

Forum statistics

Threads
1,214,523
Messages
6,120,031
Members
448,940
Latest member
mdusw

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top