Excel COLUMNS Function

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.

Formula Examples:

columns function examples

ExampleFormulaResult
1 Column=COLUMNS(C5)1
3 Columns=COLUMNS(C6:E6)3

Syntax and Arguments:

The Syntax for the COLUMNS Formula is:

Function Arguments ( Inputs ):

array – Count the number of columns in this array.

Additional Notes

Use the COLUMNS Function to count the number of columns in a range of cells.

To count the number of rows, use the ROWS Function.

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:
=AND(
After entering it in the cell, notice how the AND formula inputs appear below the cell:
columns formula syntax
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:
how to use the columns function in excel

For more information about the COLUMNS Formula visit the
Microsoft Website.

ADS GO HERE

Posted in