COLUMNS Function in Excel
In this blog post we will learn to about COLUMNS function in excel. COLUMNS function will return number of columns from selected cell range.
Once we click on “Lookup & Reference” function category, we can see list of various Lookup & Reference functions available in excel. COLUMNS function is highlighted in blue in below image.
For this, we have to Select the cell in which we want to find out the COLUMNS number of highlighted cell. In this case we have selected “B1” which is highlighted with light blue color.
In selected cell “B1”, we will apply COLUMNS function as shown in below image where we have provided reference of a brown highlighted cell.
Where to find COLUMNS function on Excel Screen:
COLUMNS function can be found under “Lookup & Reference” function category under “Formulas” tab and under “Function Library” group as shown in below image:
Once we click on COLUMNS option as highlighted above, we will get the function argument dialog box as shown in below image:
Syntax of COLUMNS Function:
The Syntax of COLUMNS function is as below:
=COLUMNS(array)
Arguments of COLUMNS Function:
COLUMNS function takes only one argument.
array: In this argument, we have to provide range of cells from which we want to find out number of columns.
If we do not provide any reference here, then excel will automatically provide column number of a cell where we are currently typing this function.
Example of COLUMNS Function:
Let’s learn to use COLUMNS function with the below example. We have prepared a dummy data as shown in below screenshot. In this we have highlighted cell range with brown colors. Now, we will find out the numbers of COLUMNS from this brown highlighted cell range.
Comments
Post a Comment