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

Data Analysis

  • How to do a t-Test in Excel?
  • How to count table columns in Excel
  • How To Insert and Customize Sparklines in Excel
  • How to calculate correlation coefficient Correlation in Excel
  • Understanding Pivot Tables in Excel

References

  • Count unique text values with criteria
  • How to get last row in mixed data with blanks in Excel
  • How to get address of last cell in range in Excel
  • MATCH function: Description, Usage, Syntax, Examples and Explanation
  • Merge tables with VLOOKUP in Excel

Data Validations

  • Data validation must not exist in list
  • Prevent invalid data entering in specific cells
  • Excel Data validation date in specific year
  • Excel Data validation must begin with
  • Excel Data validation must not contain

How to count total columns in range in Excel

by
If you need to count the number of columns in a range, use the COLUMNS function.
COLUMNS counts the number of columns in and returns the result as a number.

Formula

=COLUMNS(range)

Explanation

In the example, the active cell contains this formula:

=COLUMNS(B4:C9)

Post navigation

Previous Post:

How to calculate project complete percentage in Excel

Next Post:

Popularly Used Excel Functions and their examples

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

  • IFNA function: Description, Usage, Syntax, Examples and Explanation
  • SWITCH function: Description, Usage, Syntax, Examples and Explanation
  • How to use IFS function in Excel
  • IF function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel FALSE Function

Date Time

  • Get month from date in Excel
  • Check If Two Dates are same month in Excel
  • DATEDIF function: Description, Usage, Syntax, Examples and Explanation
  • How to calculate quarter from date in Excel
  • MINUTE function: Description, Usage, Syntax, Examples and Explanation

Grouping

  • How to randomly assign data to groups in Excel
  • Map text to numbers in Excel
  • Group numbers with VLOOKUP in Excel
  • Running count group by n size in Excel
  • Group times into 3 hour buckets in Excel

General

  • How to get amount with percentage in Excel
  • Lock Cells in a Worksheet Excel
  • How to calculate project complete percentage in Excel
  • Convert column number to letter in Excel
  • How to Create Calendar in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning