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
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!