ExcelFunctions.net Logo

The Excel COLUMNS Function

Home » Excel-Built-In-Functions » Excel-Columns-Function



Search this site:
Custom Search


The Excel COLUMNS function takes an Excel range and returns the number of columns that are contained within the range.

The format of the function is :

COLUMNS( Array )

Where the Array argument is the range that you want to know the number of columns in.


Examples

The following spreadsheets show simple examples of the Excel COLUMNS function. The format of the function is shown in the spreadsheet on the left and the results are shown in the spreadsheet on the right.

Examples of use of the Excel Columns Function Excel Columns Function Results

Note that the formula in cell A3 returns 16,384, as this is the number of columns in Excel 2007. If this example were run in Excel 2003, it would return 256.






Disclaimer Privacy Policy

Copyright © 2008-2010 ExcelFunctions.net