Finding Average Duration Time
Answers
-
Glad you were able to get it working. I must have looked at the wrong column names. My apologies.
Happy I was still able to help though. 👍️
-
Hi Paul, Any way to convert the following:
=IFERROR(SUM([Total Onsite Time]:[Total Onsite Time]) / COUNTIF([Store Status]:[Store Status], >""), "")
into hh:mm format?
Please and thank you
-
Yes. Is the [Total Onsite Time] column in hours? If so, it would be
=INT([Total Onsite Time]@row) + ":" + IF(([Total Onsite Time]@row - INT([Total Onsite Time]@row)) / 60 < 10, "0") + ([Total Onsite Time]@row - INT([Total Onsite Time]@row)) / 60
-
That is the formula I have in the Total Onsite Time cell. The problem I am having is that the average is showing 8.80 in the summary field and I would like to convert that into 8:50 (if 8.80 is indeed 8 hours and 50 minutes.)
Time calculation in Smartsheet is an absolute beast. I am obviously bowing to the master.
Sharon C
-
-
OK so I created a new summary field used the formula above using Average Deployment Time in lieu of the @ row callout:
=INT([Average Deployment Time]#) + ":" + IF(([Average Deployment Time]# - INT([Average Deployment Time]#)) / 60 < 10, "0") + ([Average Deployment Time]# - INT([Average Deployment Time]#)) / 60
and here is the result I got:
8:00.01325
I tried substituting the / with a *
and here is the result I got:
8:47.7
Any way I can round the 47.7 up to 50?
-
-
It is the Summary Field as opposed to the row.
-
I understand where it is, but what exactly is in the field? Is there a formula?
-
Apologies,
Here is the formula for the Deployment Time.
=IFERROR(SUM([Total Onsite Time]:[Total Onsite Time]) / COUNTIF([Store Status]:[Store Status], >""), "")
I was able to Round:
My formula for the Average Deployment Time (converted to hh:mm format) is:
=INT([Deployment Time]#) + ":" + IF(([Deployment Time]# - INT([Deployment Time]#)) * 60 < 10, "0") + ROUND([Deployment Time]# - INT([Deployment Time]#), 2) * 60
Result was 8:48
-
Yes. I was going to use the ROUND function as well. I just wanted to make sure we were rounding the correct part. So it is working for you now?
-
It is. Just needed the helper field and rounding. Thank you again for your help.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.4K Get Help
- 465 Global Discussions
- 156 Industry Talk
- 510 Announcements
- 5.5K Ideas & Feature Requests
- 86 Brandfolder
- 156 Just for fun
- 81 Community Job Board
- 520 Show & Tell
- 35 Member Spotlight
- 3 SmartStories
- 307 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!