Syntax
| Parameter | Description |
|---|---|
| array | Parameter of the DROP function. |
| rows | Parameter of the DROP function. |
| [columns] | (Optional.) Parameter of the DROP function. |
Examples
Skip the header row
=DROP(A1:D100, 1)
Remove last 2 rows (total rows)
=DROP(A1:D100, -2)
Drop first column and header
=DROP(A1:F50, 1, 1)
Common Errors
You tried to drop more rows or columns than exist in the array, leaving nothing.
The rows or columns argument is not a valid number.
Tips
DROP(TAKE(data, 10), 5) takes the first 10 rows, then drops the first 5 — giving you rows 6-10. This lets you extract any contiguous slice.
When feeding data to SORT, FILTER, or UNIQUE, use DROP(range, 1) to exclude the header row so it doesn't appear in your results.
DROP(data, -3) removes the last 3 rows. This is useful for discarding trailing summary rows or incomplete data at the bottom of a table.
Try DROP in Viztab
Import your data and use DROP with 370+ other formulas. No signup required.
Open Viztab