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

Data Analysis

  • Move chart to a separate worksheet in Excel
  • How to Create Gantt Chart in Excel
  • Excel Bar Chart
  • How To Compare Two Lists in Excel
  • Chart Axes in Excel

References

  • How to get last column number in range in Excel
  • How to get last row in mixed data with blanks in Excel
  • Multi-criteria lookup and transpose in Excel
  • How to get first column number in range in Excel
  • How to use Excel INDIRECT Function

Data Validations

  • Excel Data validation must contain specific text
  • Excel Data validation date in next 30 days
  • Data validation must not exist in list
  • Excel Data validation allow weekday only
  • Excel Data validation number multiple 100

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

  • Not Equal To ‘<>‘ operator in Excel
  • Extract multiple matches into separate rows in Excel
  • XOR function: Description, Usage, Syntax, Examples and Explanation
  • Return blank if in Excel
  • How to use Excel OR Function

Date Time

  • Create date range from two dates in Excel
  • How to Calculate Age in Excel
  • Pad week numbers with zeros in Excel
  • Calculate number of hours between two times in Excel
  • Roll back weekday to Friday base on a particular date in Excel

Grouping

  • Group numbers at uneven intervals in Excel
  • How to randomly assign data to groups in Excel
  • Running count group by n size in Excel
  • Map inputs to arbitrary values in Excel
  • Group arbitrary text values in Excel

General

  • Common Errors in Excel
  • How to Create Calendar in Excel
  • How to generate random number weighted probability in Excel
  • How to calculate percentage discount in Excel
  • How to calculate project complete percentage in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning