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

Data Analysis

  • How to conditionally sum numeric data in an Excel table using SUMIFS
  • How to Create Gantt Chart in Excel
  • How To Sort One Column or Multiple Columns in Excel
  • Conditional Formatting New Rule with Formulas in Excel
  • Filter Data Based on Date in Excel

References

  • How to get relative column numbers in a range in Excel
  • LOOKUP function: Description, Usage, Syntax, Examples and Explanation
  • How to create dynamic named range with OFFSET in Excel
  • Find Closest Match in Excel Using INDEX, MATCH, ABS and MIN functions
  • Two-way lookup with VLOOKUP in Excel

Data Validations

  • Excel Data validation allow uppercase only
  • Excel Data validation date in specific year
  • Excel Data validation date in next 30 days
  • Excel Data validation must begin with
  • Excel Data validation no punctuation

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 get last column number 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 table columns 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:

MDETERM function: Description, Usage, Syntax, Examples and Explanation

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

  • OR function Examples in Excel
  • SWITCH function example in Excel
  • TRUE function: Description, Usage, Syntax, Examples and Explanation
  • OR function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel XOR Function

Date Time

  • Extract date from a date and time in Excel
  • Get age from birthday in Excel
  • Add workdays no weekends in Excel
  • Display Days in month in Excel
  • WEEKDAY function: Description, Usage, Syntax, Examples and Explanation

Grouping

  • Calculate conditional mode with criteria in Excel
  • Group numbers with VLOOKUP in Excel
  • Categorize text with keywords in Excel
  • How to randomly assign data to groups in Excel
  • If cell contains one of many things in Excel

General

  • How to create dynamic named range with INDEX in Excel
  • How to calculate percent of students absent in Excel
  • How to calculate project complete percentage in Excel
  • Count cells that do not contain many strings in Excel
  • Spell Check in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning