Spreadsheet Practice

DROP function

DROP removes rows or columns from the start or end of a range and returns what is left. It is the quick way to strip a header row or a total row from imported data before you sort, filter or total it.

Available in
Excel 2024 and Microsoft 365
Category
Dynamic array functions
Returns
What is left of array after the dropped rows and columns. It spills.

Syntax

=DROP(array, rows, [columns])

ArgumentRequired?What it is
arrayRequiredThe range or array to drop from.
rowsRequiredHow many rows to remove. A positive number drops from the top, a negative one from the bottom.
columnsOptionalHow many columns to remove, counted the same way. Leave it out to keep every column.

Examples

Each result below is calculated from the sample sheet by our formula engine, the same one that grades the practice.

CellFormulaResultWhat it shows
E2=DROP(A1:C6,1)Northspills 5 × 3Removes the first row of the range, the header
I2=DROP(A2:C6,-1)Northspills 4 × 3A negative count drops from the bottom: the Total row is gone
M2=SUM(DROP(B2:B6,-1))445Totals Q1 without counting the Total row twice

Try it live

This is the sample sheet. Change any number or text, or edit a formula, and the results update.

Show the sample data as a table
RegionQ1Q2Without the headerWithout the total rowQ1 from the rows only
North120135North120135North120135445
South95110South95110South95110
East150160East150160East150160
West8090West8090West8090
Total445495Total445495

Practice DROP

Graded instantly, then re-checked on changed data.

Lose the total row

In E2, return the table A2:C8 without its last row, the Total row.

Common mistakes

What you seeWhy, and how to fix it
#CALC!Every row or column was dropped, so nothing is left. Check the count, especially when it comes from another formula.
Off by oneDROP counts how many rows to remove, not which row to start at. To start at the third row, drop 2.
#NAME?DROP needs Excel 2024 or Microsoft 365.

Tips

  • Drop columns as well as rows: =DROP(A2:E20,,1) removes the first column and keeps every row.
  • Chain it: =DROP(DROP(A1:C20,1),-1) removes both the header and a total row.

Questions

How do I remove the header row in a formula?

=DROP(A1:C20,1) returns everything except the first row.

What is the difference between TAKE and DROP?

TAKE keeps the rows you name; DROP removes them and keeps the rest. TAKE(A2:C9,3) and DROP(A2:C9,3) split the same table into two parts.

Last reviewed October 2026. Every example result on this page is calculated live by the Spreadsheet Practice formula engine.