Calculating Time
Comments
-
Hi Ann,
=SUMIF(range, criterion, [sum_range]) will do what you need. Based on your example, this would look like:
=SUMIF([Executive Session]:[Executive Session], 1, Minutes:Minutes). So the result based on the above would be 5.
-
Chris,
Thank You!
Follow up question. So I set that as a new row in my sheet and I made a second row to divide by 60 to figure out how many hours.I put your formula in for Executive Session Meeting and it gave me the total, 435 minutes.
Then in the next row I put in =SUM(Minutes55) / 60
Then this screens shot is the answer I got. How do I turn that into a number of hours?Thanks.
-
Hi Ann,
You are more than welcome.
The reason you're getting an error is that we've previously set a range and sum_range that includes the entire columns. That means your new row will also be included.
Essentially you're creating a loop (circular reference) as the =SUMIF([Executive Session]:[Executive Session], 1, Minutes:Minutes) formula is trying to read the value in Executive Session and Minutes for Row 55, while row 55 is simultaneously trying to calculate a value (from row 54) that actually includes its own value.
It's all very confusing and Smartsheet is throwing out an error.
To get around this, I'd suggest moving your total formulas to the first two rows in another column (call it Totals) or even a new summary sheet. Your hours formula can also be simplified by removing SUM (i.e. =Totals2 / 60), as you're not really summing anything.
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.6K Get Help
- 433 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.9K Ideas & Feature Requests
- 143 Brandfolder
- 147 Just for fun
- 63 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 298 Events
- 36 Webinars
- 7.3K Forum Archives