Formula Issue
Hi all,
I am trying to average the values in a column, 'Defective Quantity', when the value in column 'hide' is an '11' (for month) AND the data in column 'Year' is 2023.
=AVERAGEIF([Defective Quantity]:[Defective Quantity], hide:hide, =11, year:year, =2023)
I am receiving an #UNPARSEABLE error. Any idea what I'm doing wrong?
Best Answer
-
Hi there,
AVERAGEIF only allows for one criteria. To have more than one criteria you need to use a combination of AVG and COLLECT. Your formula would be
=AVG(COLLECT([Defective Quantity]:[Defective Quantity], hide:hide, =11, year:year, =2023))
Answers
-
Hi there,
AVERAGEIF only allows for one criteria. To have more than one criteria you need to use a combination of AVG and COLLECT. Your formula would be
=AVG(COLLECT([Defective Quantity]:[Defective Quantity], hide:hide, =11, year:year, =2023))
-
Hi KPH,
Thank you so much! That worked perfectly!
-
Wonderful!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!