Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How to Create Gantt Chart in Excel
  • How to add Trendline to a chart in Excel
  • How to calculate average last N values in a table in Excel
  • Excel Bar Chart
  • How to conditionally sum numeric data in an Excel table using SUMIFS

References

  • Extract data with helper column in Excel
  • Complete List of Excel Lookup and Reference Functions, References and Examples
  • Count rows with at least n matching values
  • Excel Advanced Lookup using Index and Match Functions
  • LOOKUP function: Description, Usage, Syntax, Examples and Explanation

Data Validations

  • Excel Data validation no punctuation
  • Prevent invalid data entering in specific cells
  • Excel Data validation allow uppercase only
  • Excel Data validation don’t exceed total
  • Excel Data validation number multiple 100

How to use Excel COLUMNS Function

by

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.

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.

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.

Syntax

The syntax for the COLUMNS function in Microsoft Excel is:

COLUMNS( reference )

Returns

The COLUMNS function returns a numeric value.

Post navigation

Previous Post:

VLOOKUP without #N/A error in Excel

Next Post:

Manipulating text strings using Left, Mid, Right, Len, Substitute in Excel

Leave a Reply Cancel reply

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

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • How to use Excel XOR Function
  • How to use Excel AND Function
  • OR function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel OR Function
  • Check multiple cells are equal in Excel

Date Time

  • WEEKDAY function: Description, Usage, Syntax, Examples and Explanation
  • Custom weekday abbreviation in Excel
  • DATEDIF function: Description, Usage, Syntax, Examples and Explanation
  • Get week number from date in Excel
  • Pad week numbers with zeros in Excel

Grouping

  • How to randomly assign data to groups in Excel
  • How to randomly assign people to groups in Excel
  • If cell contains one of many things in Excel
  • Categorize text with keywords in Excel
  • Group numbers at uneven intervals in Excel

General

  • How to generate random number between two numbers in Excel
  • AutoFit Column Width, AutoFit Row Height in Excel
  • Customize Ribbon In Excel
  • How to calculate percent of students absent in Excel
  • Count cells that contain errors in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning