Average only if certain status
Hi, I am trying to create a formula that takes the average of a column called 'days in work', i only want to take the average if a different column 'status' has the status of the row shown as 'in progress'. I tried to do
IF ( status column = "days in work, average (...))
but it did not work. I need help figuring out the correct nesting sequence. Thanks
Comments
-
Hi. Try using the AVERAGEIF formula. Your formula should look like this:
=AVERAGEIF(Status1:Status100,"In Progress",[Days in Work]1:[Days in Work]100)
Steven
-
Steven is correct. AVERAGEIF is the perfect function for this particular case.
If you needed to include multiple ranges for different criteria though, there is no AVERAGEIFS, so you would need to use an AVG(COLLECT(.............)) instead.
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 59 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives