How to average only positive or negative numbers in Excel?
May be, sometimes, you need to calculate the average of only positive or negative numbers from a range which contains both positive and negative values in your worksheet, the normal AVERAGE function will not solve this task. This tutorial will show you how to average only positive or negative numbers in Excel.
Average only positive or negative numbers with formulas
View the average of only positive or negative numbers with Kutools for Excel
Average only positive or negative numbers with formulas
To average only the positive numbers in a range, you can use the following Array formula, please do as this:
1. Enter this formula: =AVERAGE(IF(A1:D10>0,A1:D10,"")) into a blank cell, see screenshot:
2. Then press Ctrl + Shift + Enter keys together, and you will get the result as following screenshot shown:
Notes:
1. In the above formula, A1:D10 is the data range that you want to calculate the average.
2. To get the result of only the negative numbers, please apply this formula: =AVERAGE(IF(A1:D10<0,A1:D10,"")), and remember to press Ctrl + Shift + Enter keys.
View the average of only positive or negative numbers with Kutools for Excel
If you have installed Kutools for Excel, with its Select Specific Cells feature, you can select the positive or negative numbers first, and then view the result of the calculation from the status bar.
Kutools for Excel, with more than 300 handy functions, makes your jobs more easier. |
After free installing Kutools for Excel, please do as below:
1. Select the data range that you want to use.
2. Click Kutools > Select > Select Specific Cells, see screenshot:
3. In the Select Specific Cells dialog box, check Cell option under Selection type, to select all the positive numbers by selecting Greater than, and to select the negative numbers, please choose Less than from the Specific type drop down list, and enter the criteria into the text box, here enter 0 into the box, click Ok, a dialog pops out to remind you the cells have been selected, click OK to close it. See screenshot:
4. Then click OK to close this dialog, and all of your desired numbers have been selected, and you can go to the status bar to view the calculation results:
![]() |
![]() |
The result of only the positive numbers | The result of only the negative numbers |
Sum/Average/Count Positive Or Negative Numbers Only
Best Office Productivity Tools
Supercharge Your Spreadsheets: Experience Efficiency Like Never Before with Kutools for Excel
Kutools for Excel boasts over 300 features, ensuring that what you need is just a click away...
Supports Office/Excel 2007-2021 & newer, including 365 | Available in 44 languages | Enjoy a full-featured 30-day free trial.
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
