[]
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.
=DROP(array,rows,[columns])
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. |
The function returns a #CALC! error to indicate an empty array when either of the row or column is 0.
The function returns an array.
This function is available in product version 16.0 or later.
!type=note
Note: The DROP function is only available in Beta Insiders builds of Excel for Office 365 currently. Hence, without the Beta Insiders build you cannot import/export the XLSX using this function from/to Excel.