Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in


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 good idea3

Change Sige of Vlaues (quickly change negative to positive values, or vice versa...)

doc change sign

arrow blue right bubble 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:


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.

arrow blue right bubble 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 120 handy Excel functions, enhance your working efficiency and save your working time.

After free installing Kutools for Excel, please do as below:

1. Select the data range that you want to use.

2. Click Kutools > Select Tools > 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. 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:

doc-average-positives-1 doc-average-positives-1
The result of only the positive numbers The result of only the negative numbers

Recommended Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 71%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 82% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.