Excel Office

Excel How Tos, Tutorials, Tips & Tricks, Shortcuts

How to use Excel COLUMNS Function

This Excel tutorial explains how to use the COLUMNS function with syntax and examples.

Excel COLUMNS function Description

The Microsoft Excel COLUMNS function returns the number of columns in a cell reference.

Worked Example:   How to count total number of cells in a rectangular range in Excel

The COLUMNS function is a built-in function in Excel that is categorized as a Lookup/Reference Function. It can be used as a worksheet function in Excel. As a worksheet function, the COLUMNS function can be entered as part of a formula in a cell of a worksheet.

Worked Example:   How to count table columns in Excel

Explanation: The Excel COLUMNS function returns the count of columns in a given reference. For example, COLUMNS(A1:C3) returns 3, since the range A1:C3 contains 3 columns.

Returns

The COLUMNS function returns a numeric value.

Leave a Reply

Your email address will not be published. Required fields are marked *