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

Data Analysis

  • Everything about Charts in Excel
  • How To Sort One Column or Multiple Columns in Excel
  • How to do a t-Test in Excel?
  • How to count table rows in Excel
  • Get column index in Excel Table

References

  • How to get relative column numbers in a range in Excel
  • How to use Excel ROWS Function
  • Two-column Lookup in Excel
  • How to use Excel COLUMN Function
  • Count rows with at least n matching values

Data Validations

  • Excel Data validation date in next 30 days
  • Excel Data validation must begin with
  • How To Create Drop-down List in Excel
  • Excel Data validation whole percentage only
  • Excel Data validation allow weekday only

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.

Worked Example:   How to count total columns in 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:   Extract multiple matches into separate 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.

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

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:

SUBSTITUTE function vs REPLACE function in Excel

Next Post:

Count cells between dates 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

  • FALSE function: Description, Usage, Syntax, Examples and Explanation
  • Not Equal To ‘<>‘ operator in Excel
  • How to use Excel NOT Function
  • XOR function: Description, Usage, Syntax, Examples and Explanation
  • How to return blank in place of #DIV/0! error in Excel

Date Time

  • Get work hours between dates in Excel
  • NETWORKDAYS.INTL function: Description, Usage, Syntax, Examples and Explanation
  • Find Last Day of the Month in Excel
  • How to calculate percent of year complete in Excel
  • TIME function: Description, Usage, Syntax, Examples and Explanation

Grouping

  • Running count group by n size in Excel
  • Group numbers with VLOOKUP in Excel
  • How to randomly assign data to groups in Excel
  • Calculate conditional mode with criteria in Excel
  • Map text to numbers in Excel

General

  • How to create dynamic named range with INDEX in Excel
  • Hide and Unhide Columns or Rows in Excel
  • How to fill cell ranges with random number from fixed set of options in Excel
  • Freeze and Unfreeze Panes in Excel
  • Check if range contains a value not in another range in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning