Need help calculating the average of a column based on multiple criteria.
I am attempting to average the number of days to complete Action Items based on multiple criteria. I am using the =AVG(COLLECT) formula below but it is not calculating correctly. Any suggestions?
=AVG(COLLECT({5S& Safety Observations Range 3}, {5S& Safety Observations Range 1}, $Jan$1), {5S& Safety Observations Month Name}, $Jan26, {5S& Safety Observations Range 6}, $[Primary Column]@row)
Best Answers
-
@dminor764 are you getting any errors?
=AVG(COLLECT({5S& Safety Observations Range 3}, {5S& Safety Observations Range 1}, $Jan$1, {5S& Safety Observations Month Name}, $Jan26, {5S& Safety Observations Range 6}, $[Primary Column]@row))
looks like you may have had an extra parentheses, try the above
-
Yes, that worked thank you.
Answers
-
@dminor764 are you getting any errors?
=AVG(COLLECT({5S& Safety Observations Range 3}, {5S& Safety Observations Range 1}, $Jan$1, {5S& Safety Observations Month Name}, $Jan26, {5S& Safety Observations Range 6}, $[Primary Column]@row))
looks like you may have had an extra parentheses, try the above
-
Try moving the closing parenthesis after the first criteria to the very end of the formula.
-
Yes, that worked thank you.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!