Every analyst runs into the same repetitive spreadsheet chore: grabbing only the top five rows of a sorted table, pulling the latest three months from a running log, or stripping out a report’s title row and grand-total footer before feeding the data into another formula. With TAKE in Excel and its companion function DROP, you can slice contiguous rows and columns from the start or end of any range or dynamic array in one clean formula.
Availability & Compatibility: Per the official TAKE function documentation and DROP function documentation, both functions are available in Excel for Microsoft 365, Excel for Microsoft 365 for Mac, Excel for the web, Excel 2024, and Excel 2024 for Mac. Older perpetual versions such as Excel 2021 and Excel 2019 do not support them and will display #NAME? (Google Sheets also lacks native TAKE and DROP, though CHOOSEROWS or ARRAY_CONSTRAIN can mimic parts of their behavior).
Table of Contents
How TAKE in Excel Works (Keep Top or Bottom Rows)
TAKE returns a specified number of contiguous rows or columns from either the beginning or the end of an array. Here is the complete syntax:
=TAKE(array, rows, [columns])
- array (Required): The source range or dynamic array you want to slice.
- rows (Optional if columns is supplied): The number of rows to keep. Positive integers take from the top; negative integers take from the bottom.
- columns (Optional): The number of columns to keep. Positive integers take from the left; negative integers take from the right.
Suppose your Practice sheet holds a six-month operating expense table in A7:E12 (covering 2026-01 through 2026-06 across Marketing, Cloud Hosting, Travel, and Monthly Total). To extract just the first quarter (first 3 rows), enter:
=TAKE(A7:E12, 3)
To pull the latest three months from the bottom of that same table, pass -3 for rows:
=TAKE(A7:E12, -3)
Need only the first two columns (Month and Marketing) across all six months? Leave rows blank and pass 2 for columns:
=TAKE(A7:E12, , 2)
How DROP Works (Strip Headers, Footers, and Extra Columns)
While TAKE keeps what you specify, DROP does the exact opposite: it excludes a specified number of rows or columns from the start or end of an array and returns everything left over. Its syntax mirrors TAKE:
=DROP(array, rows, [columns])
Exported financial and ERP reports often arrive with a header row at the top and a Total summary row at the bottom—for example, A6:E13 in our practice workbook. If you feed that raw range straight into VSTACK in Excel to combine multiple tabs, you’ll accidentally include duplicate headers and double-count the Total row.
You can strip both the top header row and the bottom Total row in a single nested DROP formula:
=DROP(DROP(A6:E13, 1), -1)
The inner DROP(A6:E13, 1) removes row 6 (the header), and the outer DROP(..., -1) removes row 13 (the Total footer), leaving only the six clean monthly data rows ready for downstream formulas or charts. You can also combine TAKE or DROP with TRIMRANGE in Excel when your source export includes trailing blank rows.
TAKE vs. DROP Quick Reference Table
Use this reference table to choose the right slicing function and sign convention:
| Goal | Function | Example Formula | Result |
|---|---|---|---|
| Keep top N rows | TAKE (positive) | =TAKE(A7:E12, 3) | First 3 rows |
| Keep bottom N rows | TAKE (negative) | =TAKE(A7:E12, -3) | Last 3 rows |
| Remove top N rows | DROP (positive) | =DROP(A6:E13, 1) | All rows except header |
| Remove bottom N rows | DROP (negative) | =DROP(A6:E13, -1) | All rows except footer |
| Keep left N columns | TAKE (columns) | =TAKE(A7:E12, , 2) | First 2 columns |
Troubleshooting #CALC!, #SPILL!, and Common Errors
- #CALC! error (empty array): Per Microsoft Support, passing
0for eitherrowsorcolumnsinTAKEorDROPreturns#CALC!because it produces an empty array. The same error occurs if you askDROPto remove more rows than the array contains (for example, dropping 10 rows from an 8-row table). - #SPILL! error: Both functions return dynamic arrays that spill onto neighboring cells. Any existing text or merged cell in the output area blocks the formula—follow our guide on how to fix the #SPILL! error in Excel to clear the target range.
- #NUM! error: Returned if the input array exceeds Excel’s maximum array size limits.
- #NAME? error: The workbook was opened in Excel 2021 or older, or in Google Sheets, where native
TAKEandDROPare not supported.
Frequently Asked Questions
What is the difference between TAKE and DROP in Excel?
TAKE keeps a specified number of rows or columns from the start or end of an array, whereas DROP removes a specified number of rows or columns and returns the remainder.
How do I remove both the first and last row of a table with DROP?
Nest two DROP calls together: =DROP(DROP(A6:E13, 1), -1). The inner DROP removes the top header row, and the outer DROP removes the bottom total row.
Why do TAKE and DROP return #CALC! in Excel?
Excel returns #CALC! when you pass 0 for rows or columns, or when DROP excludes all rows or columns in the source array, resulting in an empty array.
Can I use TAKE to get the top 5 values after sorting?
Yes. Wrap a SORT or SORTBY formula inside TAKE, such as =TAKE(SORT(A7:E12, 5, -1), 5), to return the top 5 highest-expense months dynamically.
Which versions of Excel support TAKE and DROP?
TAKE and DROP are supported in Excel for Microsoft 365, Excel for Microsoft 365 for Mac, Excel for the web, Excel 2024, and Excel 2024 for Mac.
Download the practice workbook
The same data as this tutorial, with empty answer cells and a Solutions sheet.