Need help applying AvgIf and/or AvgCollect

Jennifer1
✭✭
I am trying to find the average of a column with specific criteria. I have avg TAT and I am trying to find the average when the Run Type is specific.
Tags:
Answers
-
Current formula I am trying: =AVG(COLLECT(TAT:TAT, [Run Type]:[Run Type], OR(@cell = "A", @cell = "B")))
It isn't pulling the average correctly.
-
Your formula is going to grab all rows where the Run Type column is either "A" or "B". Based on the screenshot, that means it is going to pull in all 3 numbers and average them (23).
Is it not supposed to pull in both letters?
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.1K Get Help
- 448 Global Discussions
- 154 Industry Talk
- 504 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 80 Community Job Board
- 513 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!