Excel COLUMNS Function
In this Article
This Excel Tutorial demonstrates how to use the Excel COLUMNS Function in Excel to count the number of columns, with formula examples.
COLUMNS Function Description:
The COLUMNS Function Calculates the number of columns in an array.
Syntax and Arguments:
The Syntax for the COLUMNS Formula is:
Function Arguments ( Inputs ):
array – Count the number of columns in this array.
Use the COLUMNS Function to count the number of columns in a range of cells.
Return to the List of all Functions in Excel
How to use the COLUMNS Function in Excel:
To use the AND Excel Worksheet Function, type the following into a cell:
After entering it in the cell, notice how the AND formula inputs appear below the cell:
You will need to enter these inputs into the function. The function inputs are covered in more detail in the next section. However, if you ever need more help with the function, after typing “=COLUMNS(” into a cell, without leaving the cell, use the shortcut CTRL + A (A for Arguments) to open the “Insert Function Dialog Box” for detailed instructions:
For more information about the COLUMNS Formula visit the