how to calculate sum of time column in excel?

Posted on 2015-01-06
Medium Priority
Last Modified: 2015-01-06
Hi Experts,
I have an excel sheet containing 2 columns, a date and a hours:Minutes column, would like to select some rows and see the total Hours:Minutes for the selected rows.
Example data:
30-Nov      4:00
01-Dec      5:30
02-Dec      4:45
03-Dec      5:30
04-Dec      0:30
Question by:bfuchs
  • 2
  • 2
LVL 18

Accepted Solution

Simon earned 1800 total points
ID: 40534479
Just sum the columns as normal with an =SUM(B2:B5) formula and use format [h]:mm in the result cell.

You can also select a number of cells in the hours and minutes column and see the total hours and minutes in the status bar.

Author Comment

ID: 40534545
I tried =sum(B2:B5), then right clicked on format cells and choose custom h:mm, but results gave me 4:00 regardless of what I was doing.
P.S. I am using office 2000
Can you please provide a screenshot.
LVL 18

Assisted Solution

Simon earned 1800 total points
ID: 40534552
Here's a sample workbook.
You need to use this format

The square braces around the 'h' mean that it shows values over 24 hours where necessary.

See also last quarter of this MS Office reference page on custom number formats
LVL 23

Assisted Solution

by:Danny Child
Danny Child earned 200 total points
ID: 40534601
Are you really using Office 2000???

to enter the format above, go to Custom Format, and type it as shown, with square brackets [ ] around the h

Author Closing Comment

ID: 40534642
Ok, That worked.
Thank you guys!

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa‚Ķ

619 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question