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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives