Average collect w/ 3 criteria
I'm attempting to average the %age passed for a specific month and year for a specific team.
I successfully used the below to average the total by month and year, but can't figure out how to add the team.
=AVG(COLLECT([%Passed]:[%Passed], [Month 2]:[Month 2], =1, Year:Year, =2024)
I tried the below, but am getting a #UNPARSEABLE error
=AVG(COLLECT([%Passed]:[%Passed], [Month 2]:[Month 2], =1, Year:Year, =2024, Team:Team, =Workforce Admin))
Thanks in advance!
Best Answer
-
@MichaelTCA Thanks for the suggestion...I figured it out! I needed to put the team name in quotes
"Workforce Admin"
=AVG(COLLECT([%Passed]:[%Passed], [Month 2]:[Month 2], =1, Year:Year, =2024, Team:Team, ="Workforce Admin"))
Thanks again!
Answers
-
Hello @AGorgei,
One possibility is how the last "criterion" was spelled. I'm not sure if you copy and pasted the function into this thread, but you could try entering [Workforce Admin]@row into the end of the function.
When you type a value you like =1 or =2024, the function is looking at the cell value within that column. It has a specific reference. Unless you specify who in the team to average information for, you will have to use the @row option.
-
@MichaelTCA Thanks for the suggestion...I figured it out! I needed to put the team name in quotes
"Workforce Admin"
=AVG(COLLECT([%Passed]:[%Passed], [Month 2]:[Month 2], =1, Year:Year, =2024, Team:Team, ="Workforce Admin"))
Thanks again!
-
Nice! Glad you were able to figure it out.
-
Can you combine the average of 2 workgroup, such as when you have 9 work groups and 3 regions? The data is coming in my workgroups and I need to average the data by region.
Thank you for any recommendations,
Lori
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.1K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 444 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 450 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 290 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!