Adding times in hh:mm

mattyn

Board Regular
Joined
Apr 20, 2015
Messages
148
Hi All

This one is baffling me.

Have a number of test worksheets with a column of times ( times to complete road trip stages) such as

03:23
02:45
05:19
07:56
06:23
05:01
=sum(A1:A6)

and so on.

The column is custom number formatted as hh:mm

I want to calculate the total time so use the formula in A7 =sum(A1:A6) custom number formatted as [h]:mm and it works it perfectly as 30:47.

Now applying exactly the same process to the live s/s, I have Column N3 to N96 custom formatted as hh:mm - most cells have values in - others are blank - all are formatted and typed correctly (have checked and double checked).

In Cell N97 (formatted to custom number [h]:mm, I have the formula =sum(N3:N96)

The answer it gives me is 6446073:15 when it should be about 196:15.

Does anyone have any idea what I have done wrong please?

Thanks in advance.

Matt
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Sounds like the cells also contain a date element, rather than just time
 
Upvote 0
Don't know how that happened but seems to have fixed it. Fat fingers typing maybe!

Many thanks.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,743
Messages
6,126,615
Members
449,322
Latest member
Ricardo Souza

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