Calculate the total days hours minutes in a column

jwsutton

New Member
Joined
Aug 15, 2018
Messages
3
Hi Gurys,

I'm hoping someone can assist me. I have used the formula:

=INT(C3-B3)&" days "&TEXT(C3-B3,"h"" hrs ""m"" mins """)

to return the results as days hours minutes in D3. I now want to tally column D3:D410 to show the total days hours minutes. I am an excel novice, any assistance would be greatly appreciated.

Regards, Jeremy
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

Excel 2010
BCDE
2
314-Aug-18 12:0015-Aug-18 12:001
415-Aug-18 12:0016-Aug-18 12:001
510-Aug-18 12:0016-Aug-18 14:006.08
68.088 day 02 hours 00 min
7
8E2 is custom format d "day" hh "hours" mm "min"
9d
Cell Formulas
RangeFormula
D3=C3-B3
D4=C4-B4
D5=C5-B5
D6=SUM(D3:D5)
E6=D6
 
Last edited:
Upvote 0

Excel 2010
BCDE
1Custom FormattedText
2Days total16.187516 day(s) 4 hour(s) 30 min16 days4 hrs 30 mins
3Rate per day$1,200.00$19,425.00#VALUE!
4
514-Aug-18 12:0015-Aug-18 12:00
615-Aug-18 12:0016-Aug-18 12:00
710-Aug-18 12:0016-Aug-18 14:00
808-Aug-18 12:0016-Aug-18 14:30
9d
Cell Formulas
RangeFormula
C2=SUMPRODUCT(C5:C8-B5:B8)
D2=C2
D3=C3*C2
E2=INT(C2)&" days "&TEXT(MOD(C2,1),"h"" hrs ""m"" mins """)
E3=E2*C3


In Excel, date and time are numbers. The numbers can be formatted; with cell B8
General 43320.5
Custom Format 08-08-2018 12:00:00 PM

If you convert the number to formatted Text, you will have useful information but you cannot do regular arithmetic with the result see cell E3.
If you just require the total time, see the Sumproduct formula in cell C2.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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