Adding up time (days, hours, minutes)

jandtng

New Member
Joined
Apr 17, 2024
Messages
5
Office Version
  1. 365
Platform
  1. Windows
1713362159500.png

I need help adding up Column 2 into Column 4
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
@HighAndWilder,

1713367293986.png

I'm using 365 version 2401. I can't use the XL2BB at work.

The data I used to calculate Column 2 is from the start and end date column that I was able to format into the Hours column using the formula =Col end date - Col start date (the blank end date result in #NUM!). Then I use the formula =INT(Hours cell) & " days, " & HOUR(Hours cell) & " hours, " & MINUTE(Hours cell) & " minutes to get my days, hours, minutes results.

I need the sum of each category (A,B,C) in Column 4

If you have to add up the sum using the Hours column, how do you get rid of the negative numbers?
 
Upvote 0
Sorry guy,
I figured it out. I used the Hours column to get what I wanted. I converted the negative numbers in the Hours column to 0 using =MAX(0,end date - start date). The use the Sumif formula to get the sum of each category.
 
Upvote 0

Forum statistics

Threads
1,215,248
Messages
6,123,877
Members
449,130
Latest member
lolasmith

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