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

Data Analysis

  • Conditional Formatting Rules in Excel
  • Conflicting Multiple Conditional Formatting Rules in Excel
  • How to create Checklist in Excel
  • Create Scatter Chart in Excel
  • How to Sort by Color in Excel

References

  • How to use Excel FORMULATEXT function
  • How to get last row in mixed data with blanks in Excel
  • Count rows with at least n matching values
  • How to use Excel OFFSET function
  • VLOOKUP function: Description, Usage, Syntax, Examples and Explanation

Data Validations

  • Excel Data validation date in specific year
  • Data validation must not exist in list
  • Excel Data validation allow uppercase only
  • Excel Data validation date in next 30 days
  • Excel Data validation no punctuation

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

  • SWITCH function example in Excel
  • IFNA function: Description, Usage, Syntax, Examples and Explanation
  • SWITCH function: Description, Usage, Syntax, Examples and Explanation
  • Excel If, Nested If, And/Or Criteria Examples
  • Nested IF function example in Excel

Date Time

  • Get days between dates in Excel
  • How to calculate months between dates in Excel
  • TIME function: Description, Usage, Syntax, Examples and Explanation
  • Get month from date in Excel
  • Assign points based on late time in Excel

Grouping

  • Calculate conditional mode with criteria in Excel
  • Categorize text with keywords in Excel
  • Running count group by n size in Excel
  • How to randomly assign people to groups in Excel
  • Group times into unequal buckets in Excel

General

  • Check if range contains a value not in another range in Excel
  • Common Errors in Excel
  • Subtotal invoices by age in Excel
  • Using Existing Templates in Excel
  • How to create dynamic named range with INDEX in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning