COLUMNS Function in Excel: Syntax, Examples & Practice

Learn the Excel COLUMNS function: Returns the number of columns in a range. Try focused practice and download a free workbook.

Syntax

=COLUMNS(array)

Check the function documentation for your Excel version and platform. The browser simulator implements selected behavior and does not reproduce every Excel feature.

Worked example

RowA: EmployeeB: ValueC: Status
2Amit45000Active
3Priya62000Active
4Ravi38000Closed
5Neha55000Active
=COLUMNS(A1:F1)

Expected result: 6

This compact MIS-style table is prepared for COLUMNS. Read the headers before building the formula.

Professional use

Build dynamic table logic.

Practice COLUMNS · Download practice .xlsx

Apply your skills

Explore MIS and finance projects

Questions and answers

How can I practise COLUMNS?

Use the focused ten-question COLUMNS lab, then download its workbook for ten additional function-specific tasks and an answer key. Core learning works without an account.

Which Excel version supports COLUMNS?

Check the function documentation for your Excel version and platform. The browser simulator implements selected behavior and does not reproduce every Excel feature.

Does the browser simulator replace Microsoft Excel?

No. It supports a selected set of formula behavior for practice. Native workbook recalculation, full function compatibility, PivotTables and external data features must be checked in your own Excel installation.

Interactive practice runs in your browser.