Average with a Criteria
I am looking to generate the average age of graduate students for each year. What was the average age of the student body for class of 2022 for example?
How do I do this? I tried this:
=AVERAGEIF({Students Range 6},, {Students Range 5}, "2022")
Student range 6 are the list of ages. Student range 5 is the academic year/class. It is saying #UNPARSEABLE.
Answers
-
The error is coming from the extra comma after the first range.
You will still need to rearrange the pieces a bit though to have the correct syntax.
=AVERAGEIF({Students Range 5}, "2022", {Students Range 6})
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 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!