Solved

Excel SUMIF with times

Posted on 2013-11-21
8
441 Views
Last Modified: 2013-11-22
Good Afternoon

I am currently using a =SUMIF formula to look through a sheet of data and calculate the total time for a specific person. For example:

Rob   00:35:00
Etc
Etc
Etc
Rob   00:25:00

However this does not apear to return the 01:00:00, I was expecting. Have I got the formate of the =SUMIF cell incorrect or do I need to use a different method to cope with calculating time?

Thank you

David
0
Comment
Question by:Washcare
8 Comments
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39666523
You have not provided

The formula you used
The result of the formula
The column names for the data

which would make it easier to help you. The best thing would be to upload an excel workbook showing what you have done.
0
 
LVL 4

Accepted Solution

by:
yuppydu earned 500 total points
ID: 39666643
Is this what you need?
time.xlsm
0
 
LVL 32

Expert Comment

by:Rob Henson
ID: 39666666
What seems to be the problem?

35 Minutes plus 25 minutes = 1 hour as correctly calculated by your formula.

Rob H
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 50

Expert Comment

by:barry houdini
ID: 39666988
SUMIF should work fine - using yuppydu's setup you can use this formula

=SUMIF(G:G,J5,H:H)

SUMIF is normally preferable to SUMPRODUCT, it's more efficient

format result cell as a time value, for elapsed time use [h]:mm

regards, barry
0
 
LVL 4

Expert Comment

by:yuppydu
ID: 39667202
Hi Barry, cannot compete with you. Still using some of the magical formulas you gave me time ago.
0
 
LVL 32

Expert Comment

by:Rob Henson
ID: 39667631
@yuppydu - apokigies, I hadn't realised it wasn't the question asked that had posted the sample. Should have looked more carefully.
0
 

Author Closing Comment

by:Washcare
ID: 39668330
Thank you all, the selected solution works as I require. My appologies for the lack of detail in the opening question.
0
 
LVL 4

Expert Comment

by:yuppydu
ID: 39668444
Not to worry Rob, it was quite evident...
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Batch, VBS, and scripts in general are incredibly useful for repetitive tasks.  Some tasks can take a while to complete and it can be annoying to check back only to discover that your script finished 5 minutes ago.  Some scripts may complete nearly …
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

816 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now