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

Data Analysis

  • Conditional Formatting Color Scales Examples in Excel
  • Data Series in Excel
  • How to create dynamic reference table name in Excel
  • Number and Text Filters Examples in Excel
  • How to create running total in an Excel Table

References

  • Extract all partial matches in Excel
  • How to use Excel MMULT Function
  • How to get first row number in range in Excel
  • How to use Excel TRANSPOSE Function
  • Get nth match with INDEX / MATCH in Excel

Data Validations

  • Prevent invalid data entering in specific cells
  • Excel Data validation unique values only
  • Excel Data validation date in specific year
  • Excel Data validation allow weekday only
  • Excel Data validation require unique number

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

  • Excel If, Nested If, And/Or Criteria Examples
  • OR function Examples in Excel
  • How to use IFS function in Excel
  • Invoice status with nested if in Excel
  • IFERROR function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Add decimal hours to time in Excel
  • Check If Two Dates are same month in Excel
  • Extract date from a date and time in Excel
  • Calculate days remaining in Excel
  • Calculate number of hours between two times in Excel

Grouping

  • Calculate conditional mode with criteria in Excel
  • How to randomly assign data to groups in Excel
  • Categorize text with keywords in Excel
  • Group times into unequal buckets in Excel
  • How to randomly assign people to groups in Excel

General

  • Basic error trapping example in Excel
  • How to calculate percent of goal in Excel
  • Excel Default Templates
  • How to calculate percentage of total in Excel
  • Currency vs Accounting Format in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning