Solved

# Excel SUMIF with times

Posted on 2013-11-21
490 Views
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
Question by:Washcare
[X]
###### Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points

LVL 43

Expert Comment

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

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

LVL 33

Expert Comment

ID: 39666666
What seems to be the problem?

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

Rob H
0

LVL 50

Expert Comment

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

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

LVL 33

Expert Comment

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

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

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

## Featured Post

Question has a verified solution.

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

### Suggested Solutions

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
This article describes a serious pitfall that can happen when deleting shapes using VBA.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
###### Suggested Courses
Course of the Month2 days, 18 hours left to enroll