Trouble with SUMIFS Function

Copper Contributor

I'm tracking to track runtimes of various components of a machine. On one sheet, I enter the start/stop times of the day and calculate the runtime of each day. On another sheet, I have all my parts. Each part has three columns associated with it: an installation date, a replacement date, and a lifetime. The install date is entered manually. The replacement date is setup as the today() function to sum lifetime cumulatively, which I will change to manually entered once I know when it is replaced. I want to use the SUMIFS function in the lifetime cell to sum the runtimes between the install and replace date. I have data for July 29-31, and August 3. For the three dates in July, in works correctly and returns the proper lifetime. Once the date in August is added on the runtime sheet, the lifetime no longer sums correctly. I haven't anything online that says SUMIFS stops working across different months. I've double checked the formula, watched videos, and read numerous tutorials on the function, and I have been unable to determine what the problem is. Does anyone know what's going on?

5 Replies

@tjgreene 

 

It would be a lot easier to be helpful on the specifics if you would post either the SUMIF formula that you've written OR the actual workbook you're using. Both would be preferable.

 

I can only hypothesize otherwise--there's probably something in the way you've written the formula or the way the dates (and times?) are stored--that is causing your problem.

@mathetes I've attached the file. Thank you for your help!

@tjgreene  I believe it didn't stop working and has nothing to do with going into Aug.  The Life is showing time in HH:MM:SS and you have lapped over to another day.  If you was to see "Life" in terms of hours try multiplying by 24 and display it as a number or just change the format to number and it will show Life in terms of Days

@mtarler  Thank you that's exactly what the problem was!

@tjgreene 

It is also possible to use a custom format

[HH]:MM:SS

which will display the count of hours beyond 24, e.g.

34:14:30