Returns the number of columns in a reference or array.
Bu işlev, Google E-Tablolar'da Excel'deki gibi çalışır — aynı söz dizimi ve bağımsız değişkenler.
COLUMNS(array)The COLUMNS function counts the total number of columns within a specified range or array. It is commonly used to determine the width of a dataset or to create dynamic references in complex formulas.
=COLUMNS(A1:C5)Sonuç: 3
Returns 3 because the range A1:C5 spans three columns (A, B, and C).
No, the COLUMNS function expects a single reference or array and will return an error if multiple non-contiguous ranges are provided.