AVERAGEIFS or AVG(COLLECT)
Fairly new to Smartsheet but well versed in Excel. There has been a learning curve, but I have overcome it until now.
I need to write a formula that will average the "Days Off" Column if the "Actual Delivery Date" Column is within a certain date range.
For this example, we can use a date range in the "Actual Delivery Date" column of 1/3/22 - 1/7/22.
Any help the community can provide would be Greatly Appreciated!
Answers
-
Create a helper column called helper:
=AND([Actually Delivery Date]@row > DATE(2022, 1, 3), [Actually Delivery Date]@row < DATE(2022, 1, 7))
Then use:
=AVG(COLLECT([Days Off]:[Days Off], Helper:Helper, true))
-
This actually returned an @row error. I tried identifying row types to make sure that everything matched and everything looks good.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.9K Get Help
- 378 Global Discussions
- 208 Industry Talk
- 441 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 295 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!