Average turnaround time in 45 day period
Hi all,
I am trying to calculate the average turn around time in a sheet summary (=ROUND(AVG([Turnaround Time]:[Turnaround Time]))) for the past 45 days (not all time, like it is currently). I tried adding <=TODAY (-45), but that did not return an accurate count. I feel like I'm missing something simple!
Turnaround time is calculated in the sheet as: =IF(ISBLANK([Date Lab Results RCVD]), "", NETDAYS([Date Lab Rcvd], [Date Lab Results RCVD]))
Best Answer
-
Try this formula:
=ROUND(AVG(COLLECT([Turnaround Time]:[Turnaround Time], [Date Lab Results RCVD]:[Date Lab Results RCVD], <(TODAY() + 45))))
This assumes that the reference date you want to use is [Date Lab Results RCVD]
I hope this helps,
Cheers,
Ramzi
Ramzi Khuri - Principal Consultant @ Cedar Tree Consulting (www.cedartreeconsulting.com)
Feel free to email me: ramzi@cedartreeconsulting.com
💡 If this post helped you out, please help the Community by marking it as the accepted answer/helpful.
Answers
-
Try this formula:
=ROUND(AVG(COLLECT([Turnaround Time]:[Turnaround Time], [Date Lab Results RCVD]:[Date Lab Results RCVD], <(TODAY() + 45))))
This assumes that the reference date you want to use is [Date Lab Results RCVD]
I hope this helps,
Cheers,
Ramzi
Ramzi Khuri - Principal Consultant @ Cedar Tree Consulting (www.cedartreeconsulting.com)
Feel free to email me: ramzi@cedartreeconsulting.com
💡 If this post helped you out, please help the Community by marking it as the accepted answer/helpful.
-
Like a charm! THANK YOU!
-
I noticed this wasn't counting back, but forward. This formula worked for 45 days:
=ROUND(AVG(COLLECT([Turnaround Time]:[Turnaround Time], [Date Lab Results RCVD]:[Date Lab Results RCVD], >=(TODAY() - 45))))
And this one for two weeks:
=ROUND(AVG(COLLECT([Turnaround Time]:[Turnaround Time], [Date Lab Results RCVD]:[Date Lab Results RCVD], >=(TODAY() - 14))))
Thanks again for the assist!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!