AVG formula and Invalid Data Error

Hello,
I seem to have hit a bit of a pickle (or an afternoon brain fart) while trying to create a roll up.
Essentially what I'm trying to do is create a roll up of averages by month and my formula is returning an Invalid Data Error. I checked the reference columns and they are indeed date columns but beyond that, it should be pretty straight forward:
=AVG(COLLECT({Assigned People}, {Target Date}, MONTH(@cell) = Month@row))
Is there something glaringly obvious that I'm missing?
Answers
-
What is in the assigned people column?
-
It's a column that has the number of people assigned
-
Try adding IFERROR around the MONTH() function.
=AVG(COLLECT({Assigned People}, {Target Date}, IFERROR(MONTH(@cell),0) = Month@row))
If any of your dates are not actual dates then it will result in an error
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.1K Get Help
- 451 Global Discussions
- 155 Industry Talk
- 505 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 80 Community Job Board
- 514 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!