COLUMNS in WPS on Windows: Introduction

Last updated:July 20, 2026

COLUMNS in WPS is a spreadsheet function that returns the number of columns in a specified array or range; this guide covers 4 core tasks, with 4 available without membership and 0 membership-related items.

At a Glance

MetricValueNotes
Core tasks4Matches the number of rows in the How-to Index
Available without membership4Matches the number of Free rows in the index
Membership-related items0Matches the number of membership-related rows in the index
Version limitsNone statedAvailable in WPS Spreadsheet across supported versions

About This Feature

Overview

COLUMNS is a built-in function in WPS Spreadsheet on Windows. It is used to return the number of columns in a specified array or cell range, making it useful for spreadsheet calculation and data analysis.

Core capabilities include:

  • Return the number of columns in a selected range for quick structure checks.
  • Support direct input in the formula bar with syntax prompts.
  • Support cross-sheet references for linked calculations.
  • Support nested formulas and automatic recalculation when data changes.

This function is useful for data analysis, worksheet structure checks, formula chaining, and multi-sheet calculations. It helps reduce manual counting and improves formula-writing efficiency.

System Requirements

ItemRequirement
Operating systemA Windows device that can run WPS Office normally
App versionThe latest version of WPS Office is recommended; WPS Spreadsheet is supported across current versions
NetworkNo mandatory internet connection is required for local formula calculation
OtherYou need to open WPS Spreadsheet and edit formulas in cells

Download & Installation

ItemDetails
Official downloadWPS Office Free Download
Check after installationOpen WPS Spreadsheet and enter =COLUMNS( in the Formula tab or formula bar

Source: WPS Download Center

Compare with Alternatives

DimensionWPSMicrosoftGoogleNotionAdobe
Capability SummaryIn WPS Spreadsheet, the COLUMNS function returns the number of columns in a specified array or range, with syntax prompts, cross-sheet references, nested calculation support, and automatic recalculation.Microsoft Excel provides the COLUMNS function to return the number of columns in an array or reference.Google Sheets provides COLUMNS(range) to return the number of columns in a specified array or range.Notion formulas support functions such as length() for text and list values, but they do not provide a spreadsheet-style COLUMNS function for cell ranges.Adobe Acrobat JavaScript focuses on PDF, forms, and document scripting rather than spreadsheet formulas, so it does not provide a direct equivalent for counting columns in a worksheet range.
WPS AdvantagesAdvantage: Built for spreadsheet column-count scenarios directly in WPS Spreadsheet; Distinct: supports syntax prompts, cross-sheet references, nested formulas, and recalculation in everyday worksheet workflows.Compared with WPS: Microsoft also offers a direct COLUMNS function with similar spreadsheet usage.Compared with WPS: Google also offers a direct COLUMNS syntax for spreadsheet ranges in Sheets.Compared with WPS: Notion is oriented more toward database properties and list-based formulas than worksheet cell-range column counting.Compared with WPS: Adobe's official scripting environment is centered on PDF workflows instead of spreadsheet formula calculation.
Official SourceMicrosoft COLUMNS functionGoogle COLUMNS helpNotion formula syntaxAdobe Acrobat JavaScript API Reference

Overall Conclusion: WPS COLUMNS is well suited to spreadsheet workflows that need direct column counting and linked calculations. Its usage is close to other spreadsheet tools for range-based formulas, while Notion and Adobe are designed for different database or PDF-centered workflows.

Use Cases

No.ScenarioSuitable forMain pain pointHow it helps
1Count columns in a data rangeData analystsManual counting is easy to get wrongUse COLUMNS to return the number of columns directly
2Build nested formulasFinance and operations usersMulti-layer formulas need dynamic column countsInsert COLUMNS into larger formulas
3Count columns across worksheetsMulti-sheet usersIt is hard to confirm range structure across sheets quicklyReference another sheet and return its column count
4Check template structureSpreadsheet template designersTemplate changes make column checks harderUse COLUMNS to verify range structure quickly
5Recalculate after data changesEveryday office usersResults need to stay in sync after editsLet the function update automatically

Membership & Benefits

Free vs WPS Premium

CapabilityFreeWPS Premium
Use the COLUMNS function✅ Available✅ Available
Basic spreadsheet formula calculation✅ Available✅ Available
Advanced PDF editing and conversion featuresPartially limited✅ More advanced capabilities available
Cloud storage1 GB20 GB or higher depending on plan

Source: WPS Office pricing page

Recommendations

ScenarioRecommended planWhy
Everyday spreadsheet calculation and formula learningFreeThe COLUMNS function itself is available without membership
Need more cloud storage or broader advanced office featuresWPS PremiumSuitable for users who also need expanded PDF, cloud, or multi-device capabilities

How to Subscribe

Source: WPS Office pricing page