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
- Customer Resources
- 64.7K Get Help
- 433 Global Discussions
- 136 Industry Talk
- 468 Announcements
- 4.9K Ideas & Feature Requests
- 143 Brandfolder
- 147 Just for fun
- 64 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 298 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!