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
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!