DROP function
Removes a given number of rows and/or columns from the start or end of a range or array and returns the rest.
Available in Microsoft 365, Excel 2024, Excel for the web, Excel for Mac 2024+
Excel 2024 and laterNot in Google Sheets
Syntax
DROP(array, rows, [columns])| Argument | What it means | |
|---|---|---|
array | Required | The range or array to trim. |
rows | Required | How many rows to remove. Positive removes from the top, negative from the bottom. Leave empty (or 0) to remove none. |
columns | Optional | How many columns to remove. Positive removes from the left, negative from the right. |
Returns: What is left of array after the rows and columns are removed, as a spilled array.
How DROP works
DROP is the opposite of TAKE: instead of saying what to keep, you say what to throw away. The most common use is removing a header row or a totals row so that the remaining data can be fed into another formula, or removing an ID column before showing a list.
Positive numbers drop from the top or left, negative numbers from the bottom or right. You can drop rows and columns in the same formula. If you try to drop everything (for example 10 rows from a 6-row range) there is nothing left and Excel returns #CALC!.
Examples
1Remove the header row
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Month | Sales | Jan | 8200 | |
| 2 | Jan | 8200 | Feb | 9150 | |
| 3 | Feb | 9150 | Mar | 10400 | |
| 4 | Mar | 10400 | Apr | 9800 | |
| 5 | Apr | 9800 | May | 11250 | |
| 6 | May | 11250 | Jun | 12030 | |
| 7 | Jun | 12030 |
The first row (Month, Sales) is removed and the six data rows spill.
2Remove the last two rows
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Month | Sales | |||
| 2 | Jan | 8200 | Jan | 8200 | |
| 3 | Feb | 9150 | Feb | 9150 | |
| 4 | Mar | 10400 | Mar | 10400 | |
| 5 | Apr | 9800 | Apr | 9800 | |
| 6 | May | 11250 | |||
| 7 | Jun | 12030 |
Negative rows drop from the bottom, leaving January to April.
3Remove the first column
| A | B | C | D | E | F | G | H | I | J | |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | ID | Name | Dept | Start year | Salary | Name | Dept | Start year | Salary | |
| 2 | 201 | Maria Lopez | Sales | 2019 | 52000 | Maria Lopez | Sales | 2019 | 52000 | |
| 3 | 202 | Tom Becker | Finance | 2021 | 58500 | Tom Becker | Finance | 2021 | 58500 | |
| 4 | 203 | Aisha Khan | IT | 2018 | 64000 | Aisha Khan | IT | 2018 | 64000 | |
| 5 | 204 | Luca Rossi | Sales | 2023 | 47500 | Luca Rossi | Sales | 2023 | 47500 |
The rows argument is left empty; 1 column is dropped from the left, so the ID column disappears.
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#CALC! | Every row or column was dropped, so the result would be empty. | Drop fewer rows/columns or check the size of the array. |
#SPILL! | The output area is blocked. | Clear the cells where the result spills. |
Tips
=DROP(FILTER(...), 1)skips the first match, e.g. the leader in a sorted list.- Combine with TAKE to slice the middle of a list:
=TAKE(DROP(A2:B7, 2), 2)returns March and April.
Google Sheets
Use CHOOSEROWS/CHOOSECOLS with a SEQUENCE of the positions to keep, or QUERY with OFFSET.
DROP in other languages
In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.
| Language | Function name |
|---|---|
| Czech | ZAHODIT |
| Danish | UDELAD |
| Dutch | WEGLATEN |
| Finnish | HYLKÄÄ |
| French | EXCLURE |
| German | WEGLASSEN |
| Hungarian | ELTÁVOLÍT |
| Italian | ESCLUDI |
| Norwegian (Bokmål) | UTELAT |
| Polish | POMIŃ |
| Russian | СБРОСИТЬ |
| Spanish | EXCLUIR |
| Swedish | UTESLUT |
| Turkish | BIRAK |