The COLUMNS function takes an range of cells in an Excel worksheet and returns the number of columns that are contained within the range.
|array||The range of cells that you want to know the number of columns in|
|4||=COLUMN(1:1)||16384||Function was calculated in Excel 2010. Therefore, the formula returns the value 16,384 (the number of columns in Excel 2010). The same result would be returned in Excel 2007. The function would return the value 256 in Excel 2003.|