How to Use TAKE Function in Excel + Tips
Learn how to use TAKE function in Excel step-by-step to extract the first or last N rows and columns from a range with simple examples and tips.
Hello everyone! Today i will show you how to use TAKE function in Microsoft Excel step by step.
1. What is TAKE Function in Excel?
The TAKE function is a dynamic array function in Excel 365 and Excel 2024. It allows you to extract a specific number of rows and/or columns from the beginning (top) or end (bottom) of a range.
Think of TAKE like slicing the first or last few items from a list. For example:
- Get the Top 5 best-selling products from a sales table.
- Get the Last 3 most recent transactions from a log.
📚 Related Tutorial: Want to remove rows from the start instead? Check out How to Use DROP Function in Excel!
2. 🛠️ Formula Syntax & Parameters
=TAKE(array, [rows], [columns])
array: Required. The range or array of cells to extract from (e.g.,A2:C10).[rows]: Optional. The number of rows to take:- Positive number (e.g.,
3): Takes rows from the top (first rows). - Negative number (e.g.,
-3): Takes rows from the bottom (last rows).
- Positive number (e.g.,
[columns]: Optional. The number of columns to take:- Positive number (e.g.,
2): Takes columns from the left. - Negative number (e.g.,
-2): Takes columns from the right.
- Positive number (e.g.,
3. 📋 Practical Examples
Example 1: Get the Top 3 Rows from a Sales Table
Suppose range A2:C7 contains a product sales table:
| Row | Column A (Product) | Column B (Category) | Column C (Sales) |
|---|---|---|---|
| 2 | Phone | Electronics | $1,200 |
| 3 | Laptop | Electronics | $2,500 |
| 4 | T-Shirt | Clothing | $300 |
| 5 | Headset | Electronics | $450 |
| 6 | Jeans | Clothing | $280 |
| 7 | Tablet | Electronics | $900 |
=TAKE(A2:C7, 3)
👉 Result: Returns the first 3 rows — Phone, Laptop, and T-Shirt rows with all their columns!
Example 2: Get the Last 3 Rows (Most Recent)
Using a negative row number to take from the bottom:
=TAKE(A2:C7, -3)
👉 Result: Returns Headset, Jeans, and Tablet — the last 3 rows of the table!
Example 3: Take First 3 Rows and First 2 Columns Only
Combining both rows and columns to extract a subset of your table:
=TAKE(A2:C7, 3, 2)
👉 Result: Returns the top 3 rows with only Column A (Product) and Column B (Category) — excluding the Sales column!
Example 4: Combine TAKE with SORT to Get Top N Values
You can nest TAKE inside SORT to get the top 3 highest-selling products:
=TAKE(SORT(A2:C7, 3, -1), 3)
👉 Result: First sorts all rows by Sales descending (highest first), then TAKE extracts the top 3 results!
💡 Quick Tips for Using TAKE Function
- Use Negative Numbers for Last N Rows: Instead of calculating
ROWS(range) - Nto find the last few rows, simply use-3as the rows argument to get the last 3 rows directly. - Combine
TAKE+SORTfor Top N Reports:=TAKE(SORT(A2:C20, 3, -1), 5)gives you the Top 5 highest-selling products instantly without a helper column. - Use
TAKE+VSTACKfor Dynamic Headers: Add a header row above extracted data:=VSTACK({"Product","Category","Sales"}, TAKE(A2:C7, 3)). - Excel Version Requirement:
TAKErequires Microsoft 365, Excel 2024, or Excel for the Web.
📚 Related Resources & Tutorials
Related Tutorials
Opens in new tab ↗How to Use DROP Function in Excel + Tips
Learn how to use DROP function in Excel step-by-step to remove specified rows or columns from the start or end of a range with simple examples and tips.
How to Use SEQUENCE Function in Excel + Tips
Learn how to use SEQUENCE function in Excel step-by-step to generate automatic numbers, dates, and tables with easy examples and tips.
How to Use VSTACK Function in Excel + Tips
Learn how to use VSTACK function in Excel step-by-step to combine ranges vertically top-to-bottom with simple examples and tips.