Spread.NET 17 Formula Reference
Formula Functions / Functions D to G / EXPAND
In This Topic
    EXPAND
    In This Topic

    This function expands or pads an array to the specified row and column dimensions.

    Syntax

    =Expand(array, rows, [columns], [pad_with])

    Arguments

    The function provides the following arguments:

    Argument

    Description

    array

    The array to expand

    rows

    The number of rows in the expanded array. If missing, rows will not be expanded.

    columns

    [Optional]The number of columns in the expanded array. If missing, columns will not expanded.
    pad_with [Optional] The value with which to pad. The default is #N/A.

    Remarks

    Data Types

    The function returns an array,the type of each value in the array depends on the parameter.

    Examples

    Version Available

    This function is available in product version 16.0 or later.

    Note: The EXPAND 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.