## How to average top or bottom 3 values in Excel?

In Excel, we can quickly and easily calculate the average of a range of cells by using the AVERAGE function. Sometimes, we need to average the largest or smallest n values in a list of cells in random order, how can we get the average of the top or bottom n values in Excel?

Average top or bottom 3 values with formulas

Average excluding top or bottom 3 values with formulas

Average excluding top and bottom 3 values with formula

#### Average top or bottom 3 values with formulas

In this example, I will calculate the average of largest or smallest 3 numbers, the following formulas may do you a favor.

To get the average of the largest 3 values, please enter this formula:

=AVERAGE(LARGE(A2:A20,ROW(1:3))), (A2:A10 is the data range that you want to average, 1:3 indicates the number of the largest values you need, if you want to average the largest 10 values, you just need to change it as 1:10. ), and then press Ctrl + Shift + Enter keys together to get the correct result. See screenshot:

To average the smallest 3 values, you can apply this formula: =AVERAGE(SMALL(A2:A20,ROW(1:3))) (also, if you want to average the smallest 10 values, change 1:3 to 1:10), and remember to press Ctrl + Shift + Enter keys to return the right result.

#### Average excluding top or bottom 3 values with formulas

Sometimes, you may need to calculate the average of other numbers excluding the top or bottom 3 values, this also can be solved with formulas in Excel.

To calculate the average numbers which exclude the top 3 values, please type this formula:

=AVERAGE(IF(A2:A20<LARGE(A2:A20,3),A2:A20))( A2:A10 is the data range that you want to average, the number 3 indicates the number of the largest value, if you want to average ignoring the largest 10 values, you just need to change 3 to 10), and then press Ctrl + Shift + Enter keys to get the result you want.

To average the numbers excluding the bottom 3 values, please type this formula: =AVERAGE(IF(A2:A20>SMALL(A2:A20,3),A2:A20)) (the number 3 indicates the number of the smallest value, if you want to average ignoring the smallest10 values, you just need to change 3 to 10), and should press Ctrl + Shift + Enter keys after entering this formula.

#### Average excluding top and bottom 3 values with formula

If you need to average the numbers which exclude both the top and bottom 3 values at the meanwhile, I can also talk about a formula for you.

Enter this formula: =AVERAGE(IF(A2:A20>SMALL(A2:A20,3),IF(A2:A20<LARGE(A2:A20,3),A2:A20))), (A2:A10 is the data range that you want to average, the number 3 indicates the number of the largest and smallest value, if you want to average ignoring the largest and smallest 10 values, you just need to change it to 10), then press Ctrl + Shift + Enter keys together to return the result.

Related articles:

How to average last 5 values of a column as new numbers entering?

How to average every 5 rows or columns in Excel?

### Best Office Productivity Tools

 🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions… Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |  Round without Formula ... Super Lookup: Multiple Criteria VLookup  |   Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup .... Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List .... Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ... Featured Features: Grid Focus   |  Design View   |  Big Formula Bar   |  Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells   |  Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ... Top 15 Toolsets:  12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

#### 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!
This comment was minimized by the moderator on the site
Hi, do you know how to solve this same issue but as a DAX formula? so that I could create a measure in a pivot table. Unfortunately the large function doesn't appear to be available as a DAX.
There are no comments posted here yet