COLUMNS
Measure an array or reference’s width in columns.
Syntax
=COLUMNS(array)Worked example
Measure the number of columns in the reference.
=COLUMNS(A2:D9)Result 4
Microsoft documentation
Check the arguments, supported editions and behavior of this function in Microsoft’s reference.
Microsoft referenceHow to Use COLUMNS Function in Excel
Practice COLUMNS
Measure the number of columns in the reference.
| A | B | |
|---|---|---|
| 1 | ||
| 2 | ||
| 3 |
Show example formula
=COLUMNS(A2:D9) Lesson quiz
Answer three questions to see your level in this lesson.
