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
- Customer Resources
- 67K Get Help
- 442 Global Discussions
- 154 Industry Talk
- 503 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 79 Community Job Board
- 512 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!