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

Data Analysis

  • How to conditionally sum numeric data in an Excel table using SUMIFS
  • Data Series in Excel
  • Understanding Anova in Excel
  • How To Sort One Column or Multiple Columns in Excel
  • Conditional Formatting Icon Sets Examples in Excel

References

  • Two-column Lookup in Excel
  • Extract all partial matches in Excel
  • How to use Excel ROWS Function
  • Create hyperlink with VLOOKUP in Excel
  • How to get relative row numbers in a range in Excel

Data Validations

  • Excel Data validation must contain specific text
  • Data validation must not exist in list
  • Excel Data validation require unique number
  • How To Create Drop-down List in Excel
  • Excel Data validation date in specific year

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

  • How to use Excel TRUE Function
  • How to use Excel FALSE Function
  • IF with boolean logic in Excel
  • AND function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel AND Function

Date Time

  • Calculate retirement date in Excel
  • Add days to date in Excel
  • Convert text date dd/mm/yy to mm/dd/yy in Excel
  • Get work hours between dates and times in Excel
  • Extract time from a date and time in Excel

Grouping

  • Group arbitrary text values in Excel
  • How to randomly assign data to groups in Excel
  • Map inputs to arbitrary values in Excel
  • Map text to numbers in Excel
  • How to randomly assign people to groups in Excel

General

  • Index and match on multiple columns in Excel
  • How to calculate percent change in Excel
  • Create dynamic workbook reference to another workbook in Excel
  • How to add sequential row numbers to a set of data in Excel
  • Count cells less than in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning