Spread.NET 18 Formula Reference
Formula Functions / Functions D to G / DROP
In This Topic
    DROP
    In This Topic

    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

    Version Available

    This function is available in product version 16.0 or later.

    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.