1. Home
  2. Functions
  3. Array
  4. DROP

DROP function

Removes a number of rows or columns from the start (positive) or end (negative) of an array.

Syntax

=DROP(array, rows, [columns])

Arguments

ArgumentRequiredDescription
arrayRequiredThe range or array
rowsRequiredRows to drop (negative from the end)
columnsOptionalColumns to drop (negative from the end)

How to use DROP

When DROP returns more than one value, the result spills into the cells below and to the right. Keep those cells empty, or you get #SPILL!.

DROP takes 2 required arguments and 1 optional argument. Type =DROP( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.

Examples

Each result below was calculated by the SheetsBat formula engine.

=DROP({1,2;3,4;5,6}, 1)Result 2 by 2 array
Spilled result
AB
134
256
=DROP({1,2;3,4;5,6}, -2, 1)Result 2
=DROP({1;2}, 2)Result #CALC!

Every formula, right in your browser

SheetsBat calculates 536 functions, with charts, pivot tables and live collaboration. Free to start.