Formula trouble: Average score for specific word in multi-select column
I have scrubbed the community board for this answer, but was unable to find the formula I needed. Therefore I am sending out an SOS. :)
On the master sheet, I am calculating scores and an overall total average.
Example formula: =AVERAGEIF([NE: Value]:[NE: Value], <>"") -- This is working
On my metrics sheet, I would like break those down to show the averages of scores within the assigned business unit "BU".
Here is what I have tried so far:
=AVERAGEIF({Range NE:Value} <> "",{Range BU}, [item2]@row)
=AVERAGEIF({Range NE:Value} <> "",AND({Range BU}, CONTAINS("Payments"@cell)))
*Item2 = Payments
As you can see from the formula, I'm also wanting to exclude blank cells (no assigned score)
Am I even close??
Thank you in advance!
Best Answer
-
Hey @MeganJF
I agree with @Hollie Green! You can use an AVG(COLLECT to average a column based on multiple conditions.
An AVG(COLLECT works like this:
=AVG(COLLECT({Range to Avg}, {First Criteria Column}, "Criteria 1", {Second Criteria Column}, "Criteria 2"))
So in your case, try something like this:
=AVG(COLLECT({Range NE:Value}, {Range NE:Value}, <> "", {Range BU}, [item2]@row))
See: Average with multiple conditions
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Answers
-
AVG(Collect works well when you have multiple criteria to average
-
Hey @MeganJF
I agree with @Hollie Green! You can use an AVG(COLLECT to average a column based on multiple conditions.
An AVG(COLLECT works like this:
=AVG(COLLECT({Range to Avg}, {First Criteria Column}, "Criteria 1", {Second Criteria Column}, "Criteria 2"))
So in your case, try something like this:
=AVG(COLLECT({Range NE:Value}, {Range NE:Value}, <> "", {Range BU}, [item2]@row))
See: Average with multiple conditions
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
Thank you @Genevieve P. and @Hollie Green! Works perfectly!
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
- 494 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!