Skip to content

DROP

Removes a set number of rows or columns from the start or end of a range or array and returns the rest.

Syntax

=DROP(, , )

Dynamic arrays

Excel for Microsoft 365, Excel 2024 and later, and Excel for the web. Not available in Excel 2021 or earlier.

Try it

Edit the formula in E1 or change the inputs. The sheet recalculates as you type.

E1
A
B
C
D
E
F
1
Item
Qty
Cost
Gloves
40
2
Gloves
40
120
Tape
25
3
Tape
25
50
Wrap
10
4
Wrap
10
85
Labels
60
5
Labels
60
45
Total
135
6
Total
135
300
7

E1 =DROP(A1:C6,1) returns Gloves, 40, 120; Tape, 25, 50; Wrap, 10, 85; Labels, 60, 45; Total, 135, 300

How DROP works

DROP removes rows or columns from the edge of an array and returns what is left. It is the quickest way to strip a header row, a total row or a label column from a block before you pass it to another function.

The arguments

  • array is the block to trim.
  • rows is how many rows to remove. A positive number removes them from the top and a negative number from the bottom. =DROP(A1:C6,1) removes the header row. =DROP(A1:C6,-1) removes the total row at the bottom.
  • columns is how many columns to remove, from the left if positive and from the right if negative. =DROP(A1:C6,,1) removes the first column. Leave a comma for the empty rows argument.

Both arguments can be used together. =DROP(A1:C6,1,1) removes the header row and the first column in one step.

Stripping headers and totals

A typical report range has a header at the top and a total at the bottom. If you want to feed only the data into SORT, FILTER or a chart, trim both ends:

=DROP(DROP(A1:C6,1),-1)

The inner DROP removes the header and the outer one removes the total. The range is never shortened in your sheet. Only the result is.

DROP, TAKE and CHOOSEROWS

TAKE keeps a run from an edge, and DROP removes one. Each can do the other's job: DROP(A1:C6,1) on a six-row block is the same as TAKE(A1:C6,-5). Choose whichever says what you mean. "Everything except the header" reads naturally with DROP, and "the top three" with TAKE.

CHOOSEROWS and CHOOSECOLS return specific rows or columns by position. Use them when the rows you want aren't a run from an edge.

When too much is removed

If you drop every row or every column, the result would be empty and DROP returns #CALC!. Dropping more rows than the array has gives the same error.

Spilling

The result spills into the cells below and to the right of the formula. If those aren't empty you get #SPILL!. Use # after the anchor cell to refer to the whole result in another formula, such as =SUM(E2#). See FILTER for more on spill ranges.

DROP needs Microsoft 365, Excel 2024 or later, or Excel for the web. Earlier versions return #NAME?.

Arguments

array
The range or array to remove rows or columns from.
rows
How many rows to remove. A positive number removes rows from the top, a negative number from the bottom. Leave it empty to keep every row, as in DROP(A1:C6,,1).
columnsoptional
How many columns to remove. A positive number removes columns from the left, a negative number from the right.

Examples

Each example is a live sheet. Change the inputs or the formula and watch the result.

Example 1

Remove the header row

E1 =DROP(A1:C6,1)

Result: Gloves, 40, 120; Tape, 25, 50; Wrap, 10, 85; Labels, 60, 45; Total, 135, 300

The first row of A1:C6 is gone, and the five rows below it come back.

E1
A
B
C
D
E
F
1
Item
Qty
Cost
Gloves
40
2
Gloves
40
120
Tape
25
3
Tape
25
50
Wrap
10
4
Wrap
10
85
Labels
60
5
Labels
60
45
Total
135
6
Total
135
300
7

E1 =DROP(A1:C6,1) returns Gloves, 40, 120; Tape, 25, 50; Wrap, 10, 85; Labels, 60, 45; Total, 135, 300

Example 2

Remove the total row

E1 =DROP(A1:C6,-1)

Result: Item, Qty, Cost; Gloves, 40, 120; Tape, 25, 50; Wrap, 10, 85; Labels, 60, 45

A negative number removes rows from the bottom. The header stays.

E1
A
B
C
D
E
F
1
Item
Qty
Cost
Item
Qty
2
Gloves
40
120
Gloves
40
3
Tape
25
50
Tape
25
4
Wrap
10
85
Wrap
10
5
Labels
60
45
Labels
60
6
Total
135
300
7

E1 =DROP(A1:C6,-1) returns Item, Qty, Cost; Gloves, 40, 120; Tape, 25, 50; Wrap, 10, 85; Labels, 60, 45

Example 3

Remove the first column

E1 =DROP(A1:C6,,1)

Result: Qty, Cost; 40, 120; 25, 50; 10, 85; 60, 45; 135, 300

The empty slot for rows keeps every row. The 1 in the third position removes the Item column.

E1
A
B
C
D
E
F
1
Item
Qty
Cost
Qty
Cost
2
Gloves
40
120
40
120
3
Tape
25
50
25
50
4
Wrap
10
85
10
85
5
Labels
60
45
60
45
6
Total
135
300
135
300
7

E1 =DROP(A1:C6,,1) returns Qty, Cost; 40, 120; 25, 50; 10, 85; 60, 45; 135, 300

Example 4

Data only: remove the header and the total

E1 =DROP(DROP(A1:C6,1),-1)

Result: Gloves, 40, 120; Tape, 25, 50; Wrap, 10, 85; Labels, 60, 45

The inner DROP takes off the header row, then the outer one takes off the last row, which is now the total.

E1
A
B
C
D
E
F
1
Item
Qty
Cost
Gloves
40
2
Gloves
40
120
Tape
25
3
Tape
25
50
Wrap
10
4
Wrap
10
85
Labels
60
5
Labels
60
45
6
Total
135
300
7

E1 =DROP(DROP(A1:C6,1),-1) returns Gloves, 40, 120; Tape, 25, 50; Wrap, 10, 85; Labels, 60, 45

Your turn.

Solve it in the sheet. Every answer is checked, with hints if you need them.

Task 1 of 2

In E2, return only the account rows, without the header row or the Total row.

Answer in E2.

E2
A
B
C
D
E
F
G
H
I
1
Account
Budget
Actual
2
Travel
4,000
4,650
3
Software
6,200
5,900
4
Training
2,500
1,800
5
Supplies
1,200
1,350
6
Total
13,900
13,700
7
8
9
10
11
12
13
14
15
16
17

Common mistakes

  • Dropping everything returns #CALC!. DROP(A1:C6,6) on a six-row range leaves nothing, and so does a row count larger than the range.
  • Mixing up rows and columns is easy. The second argument is rows and the third is columns. To drop only a column, leave the second empty: DROP(A1:C6,,1).
  • The signs matter. A positive number removes from the top or left, a negative number from the bottom or right. DROP(A1:C6,-1) removes the last row, not the first.
  • Dropping a header leaves you without column labels. If the final report needs them, add them back with VSTACK, as in VSTACK({"Item","Qty","Cost"},DROP(...)).
  • The result spills. #SPILL! means something is in the way, such as another formula in the cells below.

Questions people ask

How do I remove the header row from a range in a formula?

Use `=DROP(A1:C6,1)`. The result starts at the second row of the range. Use it inside SORT, FILTER or SUM so the header isn't treated as data.

How do I remove the last row, such as a total?

Use a negative number: `=DROP(A1:C6,-1)` removes the last row and leaves the rest unchanged.

What is the difference between DROP and TAKE?

TAKE keeps rows or columns from the start or end, and DROP removes them. `DROP(A1:C6,1)` and `TAKE(A1:C6,-5)` give the same result on a six-row range.

Does DROP change my original data?

No. It returns a trimmed copy and leaves the source range alone.

Does DROP work in older versions of Excel?

No. It needs Microsoft 365, Excel 2024 or later, or Excel for the web. In Excel 2021 and earlier the formula returns `#NAME?`.

Learn DROP in a real sheet.

Tracks take you from the basics to modelling, one graded exercise at a time.