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

Data Analysis

  • Error Bars in Excel
  • How to calculate average last N values in a table in Excel
  • How To Insert and Customize Sparklines in Excel
  • Data Series in Excel
  • How to Use Solver Tool in Excel

References

  • How to use Excel COLUMN Function
  • How to use Excel VLOOKUP Function
  • How to use Excel FORMULATEXT function
  • How to get last row in mixed data with blanks in Excel
  • How to get address of last cell in range in Excel

Data Validations

  • Excel Data validation exists in list
  • Prevent invalid data entering in specific cells
  • Excel Data validation must not contain
  • Excel Data validation no punctuation
  • Excel Data validation must begin with

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

  • IF function: Description, Usage, Syntax, Examples and Explanation
  • OR function Examples in Excel
  • Return blank if in Excel
  • How to return blank in place of #DIV/0! error in Excel
  • SWITCH function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Get day name from date in Excel
  • Calculate number of hours between two times in Excel
  • List holidays between two dates in Excel
  • Get last working day in month in Excel
  • Get days before a date in Excel

Grouping

  • How to randomly assign people to groups in Excel
  • Map inputs to arbitrary values in Excel
  • If cell contains one of many things in Excel
  • Group times into unequal buckets in Excel
  • Categorize text with keywords in Excel

General

  • How to Delete Cells, Row and Rows in Excel
  • Create dynamic workbook reference to another workbook in Excel
  • How to create dynamic named range with INDEX in Excel
  • How to calculate percentage of total in Excel
  • How to Insert Cells, Row and Rows in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning