Exclude negative numbers from AVG Formula
Hi!
I need help with a Sheet Summary Formula. We have some negative numbers due to retroactively entering data that we do not want to include in our average. We do not want to include the negative number and we DO NOT want the exclusion to be counted in the average. i.e. there are 10 numbers, 2 of them are negative, only want the average to be calculated with the 8 positive.
Here's the formula I have thus far, working great except for the negatives included:
=ROUND(AVG([Turnaround Requestor to CSM]:[Turnaround Requestor to CSM]))
Thank you for your help!
Best Answer
-
I believe you want to use:
=AVERAGEIF([Turnaround Requestor to CSM]:[Turnaround Requestor to CSM], >0, [Turnaround Requestor to CSM]:[Turnaround Requestor to CSM])
Answers
-
I believe you want to use:
=AVERAGEIF([Turnaround Requestor to CSM]:[Turnaround Requestor to CSM], >0, [Turnaround Requestor to CSM]:[Turnaround Requestor to CSM])
-
Thank you, this seems to have worked perfectly!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.6K Get Help
- 403 Global Discussions
- 215 Industry Talk
- 455 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 56 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!