[]
        
(Showing Draft Content)

DROP

The function excludes a specified number of rows or columns from the start or end of an array. You might find this function useful to remove headers and footers in a worksheet report to return only the data.

Syntax

DROP(array, rows,[columns])

Arguments

The function has the following arguments:

Argument

Description

array

Refers to the array from which to drop rows or columns.

rows

Refers to the number of rows to drop. A negative value drops from the end of the array.

columns

[Optional] Refers to the number of columns to exclude. A negative value drops from the end of the array.

Remarks

The function returns a #CALC! error to indicate an empty array when either of the row or column is 0.

Data Types

The function returns an array.

Examples

drop-snapshot.png