Skip to content

How to Use Excel COLUMNS Function?

Listen to this article.
COLUMNS FunctionPin
COLUMNS Function

COLUMNS Function in Excel: Most people use Microsoft Excel for managing and handling huge data. With the help of this software, we can do many mathematical calculations in a few seconds. It offers various built-in functions and formulas to do that. If you want to count the columns easily, you can use the COLUMNS function.

Here, we will explore the basic syntax and usage of the COLUMNS function in Microsoft Excel with some examples. Get the official version of MS Excel from the following link:

Excel COLUMNS FunctionPin
Excel COLUMNS Function

Explanation of the COLUMNS Function

  • It is one of the built-in functions in Microsoft Excel.
  • The Excel COLUMNS function returns the count of columns in a given reference.
  • For instance, COLUMNS(A2:C2) returns 3 as a result.


  • Here, you will see the syntax of the COLUMNS function.
  • To apply this function on your spreadsheet, you have to select a cell and enter the formula in the following format.
  • Once you enter the formula, just click on the Enter button to get the result.


Argument Explanation

  • Array: A reference to a range of cells or single cells.

Practical Examples

Now let’s grasp some examples of the COLUMNS function and explore how it works in Microsoft Excel.

  • Initially, you have to open your Excel workbook on your PC and launch the worksheet that has data.
  • For instance, we have entered the formula in cell B3, where we have given the reference of the columns as A1:D1.
Enter the formulaPin
Enter the formula
  • After entering the formula, you need to click the Enter button to get the output, as shown below.
  • In the following screenshot, you can see the applied formulas and their corresponding results.
Apply COLUMNS FunctionPin
Apply COLUMNS Function


We hope that this tutorial explained the usage of the COLUMNS Function in Excel with some practical examples. Drop your comments in the below section. To learn more about Excel functions, then visit our webpage

Video Tutorial

The following video will show you how to apply the COLUMNS function in the Excel worksheet.

Related Articles


Leave a Reply

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

Share to...