Excel Tutorial
Excel tutorials, quizzes & AI guides — all levels
RSS
  • Online Excel Exercises
  • Training
  • Excel Tests
  • Sitemap
  • Premium Quizzes
  • Shop
  • My account

Select the Top 5 Values with TAKE function

Statistical functions
Reading time: 2 minutes
Views: 10,434

Do you want to find the top 5 values or the last 5 values from a list in Excel? The TAKE function in Excel 365 makes this task easy when combined with the SORT function. This article explains how to use both functions step by step.

Why TAKE Alone is Not Enough

The TAKE function lets you extract specific rows or columns from a range. Its syntax is quite simple:

  1. The array (your table with the values)
  2. The number of rows to extract
  3. [Optional] The number of columns to extract

=TAKE(array, rows_to_extract, columns_to_extract)

If you use the TAKE function directly without sorting, it will only return the first 5 or last 5 rows of your data range, not necessarily the top 5 values. For instance, imagine you want to return the 5 employee names with the highest sales:

The TAKE function returns the first 5 rows of the table

To find the top 5 values, you must first organize your data using the SORT function. Without sorting, the TAKE function will only select rows based on their position, not their value.

Steps to Select the Top 5 Values

The idea here is to create a virtual table ordered by the total column and then extract the top 5 rows:

  1. Write the SORT function.
  2. Indicate the column to sort (e.g., the 7th column).
  3. Order in decreasing order (-1).
  4. Extract the top 5 rows from this virtual table using the TAKE function.
The SORT function sort on decreasing order
Select the top 5 rows with the TAKE function

Select the Bottom 5 Values

You can also select the last 5 rows using the TAKE function by writing a negative value for the second argument:

TAKE function with negative argument

Key Points to Remember

  • Combine SORT and TAKE to manage data dynamically.
  • Positive numbers in the TAKE function select rows from the top.
  • Negative numbers select rows from the bottom.

Related Articles

  • Highlight Top / Bottom Values with Conditional Formatting
  • What is the Most Common Value in a Table?
  • TOP 10 Most Useful Statistical Functions for Data Analysis

Frédéric LE GUEN

SORT, Top 10

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Most Viewed Posts

  • Displaying Negative Numbers in Parentheses in Excel (310,065)
  • Top 10 Excel Functions You Must Know (232,001)
  • How to make automatic calendar in Excel (212,775)
  • Dash for a zero in Excel automatically (190,812)
  • Converting a Date from YYYYMMDD to DD/MM/YYYY in Excel (171,033)
image excel exercises
Excel Exercises
image excel quizzes
Excel Quizzes

Select the Top 5 Values with TAKE function

Reading time: 2 minutes
Views: 10,434

Do you want to find the top 5 values or the last 5 values from a list in Excel? The TAKE function in Excel 365 makes this task easy when combined with the SORT function. This article explains how to use both functions step by step.

Why TAKE Alone is Not Enough

The TAKE function lets you extract specific rows or columns from a range. Its syntax is quite simple:

  1. The array (your table with the values)
  2. The number of rows to extract
  3. [Optional] The number of columns to extract

=TAKE(array, rows_to_extract, columns_to_extract)

If you use the TAKE function directly without sorting, it will only return the first 5 or last 5 rows of your data range, not necessarily the top 5 values. For instance, imagine you want to return the 5 employee names with the highest sales:

The TAKE function returns the first 5 rows of the table

To find the top 5 values, you must first organize your data using the SORT function. Without sorting, the TAKE function will only select rows based on their position, not their value.

Steps to Select the Top 5 Values

The idea here is to create a virtual table ordered by the total column and then extract the top 5 rows:

  1. Write the SORT function.
  2. Indicate the column to sort (e.g., the 7th column).
  3. Order in decreasing order (-1).
  4. Extract the top 5 rows from this virtual table using the TAKE function.
The SORT function sort on decreasing order
Select the top 5 rows with the TAKE function

Select the Bottom 5 Values

You can also select the last 5 rows using the TAKE function by writing a negative value for the second argument:

TAKE function with negative argument

Key Points to Remember

  • Combine SORT and TAKE to manage data dynamically.
  • Positive numbers in the TAKE function select rows from the top.
  • Negative numbers select rows from the bottom.

Related Articles

  • Highlight Top / Bottom Values with Conditional Formatting
  • What is the Most Common Value in a Table?
  • TOP 10 Most Useful Statistical Functions for Data Analysis
Tags: SORTTop 10

Frédéric LE GUEN

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Contact us
About me 
Privacy Policy

© 2022 – 2026 – excel-tutorial.com. All Rights Reserved.
Excel Tutorial is managed by majordome du net

Contact us
About me 
Privacy Policy

© 2022 – 2026 – excel-tutorial.com. All Rights Reserved.
Excel Tutorial is managed by majordome du net