Average Collect with OR
Hi Smartsheet Community!
How can I work OR into this Average Collect formula? I need the "C&P Complete" reference to be "Yes" OR the "Does this position require credentialing?" reference to be "No" worked in.
=AVG(COLLECT({Days B/T Submission & Onboard}, {Provider or Non-Provider From Req Sheet}, "Non-Provider", {C&P Complete}, "Yes", OR({Does this position require credentialing?} "No", {Orientation Date}, AND(@cell >= DATE(2024, 1, 1), @cell <= DATE(2024, 1, 31))))
Many thanks!
Lindsay
Answers
-
=AVG(COLLECT( {Days B/T Submission & Onboard}, {Provider or Non-Provider From Req Sheet}, "Non-Provider", OR( {C&P Complete}, "Yes", {Does this position require credentialing?} "No", ) {Orientation Date}, AND(@cell >= DATE(2024, 1, 1), @cell <= DATE(2024, 1, 31)
Base on my understanding, you wrap the criteria in OR statment, you do not place it in between or two criteria.
OR ( This logic, That logic )
...
-
Thank you @heyjay! I was able to add a helper column to get to the solution as well. I appreciate your help :)
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!