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.8K Get Help
- 406 Global Discussions
- 219 Industry Talk
- 457 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 297 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!