Contact

Criteria Β· cross-software comparison

COUNTIFS across spreadsheet programs

Count rows satisfying two conditions, compare COUNTIFS argument patterns, and identify a documented fallback for Calligra Sheets.

Task

Count rows where Region is North (A2:A6) and Status is Open (B2:B6).

Expected output

2

Compatibility trap: All criterion ranges must align in shape; counting blanks, text comparison rules and regional separators may differ.

One shared five-row test dataset

The same source rows make results easier to compare. Use the CSV in any supported spreadsheet application; the ODS workbook also includes LibreOffice formula tests.

Shared formula comparison fixture (columns A through F)
Region (A)Status (B)Amount (C)SKU (D)Label (E)Units (F)
NorthOpen125SKU-101Alpha2
SouthClosed80SKU-102Beta1
NorthOpen75SKU-103Gamma3
NorthClosed50SKU-104Delta4
SouthOpen200SKU-105Epsilon1

Formula syntax and feature differences

β€œDocumented” rows cite official product help, but were not run in the destination software. A formula shown here is a migration candidate, not a guarantee of identical behaviour or file interoperability.

Formulas can be selected and copied manually. Copy buttons become available when JavaScript is ready.

LibreOffice Calc

Native tested

Version: Calc 25.2.3.2 verified.

Arguments: COUNTIFS(range1;criterion1;range2;criterion2;…)

=COUNTIFS(A2:A6;"North";B2:B6;"Open")

Counts two North/Open rows in the supplied five-row fixture.

Official documentation β†—

Apache OpenOffice Calc

Documented

Arguments: COUNTIFS(criteria_range1;criterion1;…)

=COUNTIFS(A2:A6;"North";B2:B6;"Open")

COUNTIFS is present in the official Apache OpenOffice function list; do not confuse guide coverage gaps with missing software functionality.

Official documentation β†—

Gnumeric

Documented

Arguments: COUNTIFS(criteria_range1,criteria1,criteria_range2,criteria2,…)

=COUNTIFS(A2:A6,"North",B2:B6,"Open")

Gnumeric’s published function index records COUNTIFS as complete with basic testing.

Official documentation β†—

Calligra Sheets

Alternative

Arguments: Row helper formula, then SUM(helper column)

=IF(AND(A2="North";B2="Open");1;0)

Official KDE function handbook documents COUNTIF but does not list COUNTIFS. For a transparent alternative, fill this helper down G2:G6 and SUM(G2:G6); keep source Amount out of helper column.

Alternative: Use a new blank column G to avoid overwriting Amount; change example helper cell to G2.

Official documentation β†—

PlanMaker

Documented

Version: PlanMaker 2026.

Arguments: COUNTIFS(range1;criterion1;range2;criterion2;…)

=COUNTIFS(A2:A6;"North";B2:B6;"Open")

The 2026 manual documents COUNTIFS and warns that older file formats can lose native formula compatibility.

Official documentation β†—

ONLYOFFICE Spreadsheet Editor

Documented

Arguments: COUNTIFS(criteria_range1,criteria1,…)

=COUNTIFS(A2:A6,"North",B2:B6,"Open")

Published function help documents multi-range criteria and common wildcard handling.

Official documentation β†—

Apple Numbers

Documented

Arguments: COUNTIFS(test-values,condition,…)

=COUNTIFS(A2:A6,"North",B2:B6,"Open")

Numbers has a COUNTIFS function. References assume source columns belong to a Numbers table.

Official documentation β†—

Microsoft Excel

Documented

Version: Classic Excel versions.

Arguments: COUNTIFS(criteria_range1, criteria1, [criteria_range2, criteria2], ...)

=COUNTIFS(A2:A6,"North",B2:B6,"Open")

All criteria ranges must be compatible in shape.

Important: Vendor help checked; example not executed in this program.

Official documentation β†—

Google Sheets

Documented

Version: Google Sheets rolling service; introduction date and numbered release not established by the reviewed help.

Arguments: COUNTIFS(criteria_range1, criteria1, [criteria_range2, criteria2], ...)

=COUNTIFS(A2:A6,"North",B2:B6,"Open")

All criteria ranges must be compatible in shape.

Important: Vendor help checked; example not executed in this program.

Official documentation β†—

WPS Spreadsheet

Documented

Version: WPS Office for Windows Personal lesson published 2019-05-08; numeric build and original introduction unknown.

Arguments: COUNTIFS(criteria_range1, criteria1, [criteria_range2, criteria2], ...)

=COUNTIFS(A2:A6,"North",B2:B6,"Open")

The dated Windows Personal lesson documents AND criteria over equally shaped ranges. The shared fixture has modeled count 2; it was not executed in WPS.

Important: Historical documentation checked 2026-10-23, not native testing. Current-build limits, other clients and paid-edition parity remain unverified.

Official documentation β†—

Collabora Office Calc

Documented

Version: Collabora Office 26.04 desktop help, checked 2026-10-23; original introduction and exact installed build unknown.

Arguments: COUNTIFS(range1;criterion1;[range2;criterion2];...)

=COUNTIFS(A2:A6;"North";B2:B6;"Open")

The reviewed help identifies itself as Collabora Office 26.04 and documents AND criteria. For this plain-text fixture, use whole-cell matching; expected count 2 is independently modeled.

Important: Not native tested. The latest-help URL can change; Online, mobile and other releases are not certified by this desktop-help evidence.

Official documentation β†—

What changes when you migrate?

A safe test needs both a row that meets only the first condition and a row that meets only the second, so accidental OR logic is exposed.

Calligra fallback: in G2 enter =IF(AND(A2=“North”;B2=“Open”);1;0), fill through G6, then =SUM(G2:G6). This is an editorial workaround, not a claimed Calligra COUNTIFS implementation.

Region-aware separators are not a property of the named function itself: some installations use commas and others semicolons.

Actual LibreOffice calculation evidence

The historical results report dated October 10, 2026 records calculation-engine checks in LibreOffice Calc 25.2.3.2 using headless UNO, not a GUI or workbook round-trip check. The published manifest provides the exact input formula, checked result, and whether the test validates a scalar result rather than array spill layout.

Test ID: countifs. See calculation results (JSON).

Two criteria means intersection, not union

Only rows that meet both conditions qualify. The first North/Open row has amount 125, and the second has amount 75, but COUNTIFS is counting rowsβ€”not summing those amountsβ€”so the answer is 2. North/Closed must not count; neither should South/Open.

Practical fallback in a helper column

Calligra’s public function handbook documents single-criterion counting but does not supply a COUNTIFS entry in the material reviewed for this release. To keep the method transparent, enter this into blank cell G2, then fill down through G6:

=IF(AND(A2="North";B2="Open");1;0)

Then evaluate =SUM(G2:G6) to obtain 2. This helper formula is a proposed workaround based on documented IF, AND and SUM primitives; it was not runtime-tested in Calligra. Never place it in column C, which contains the Amount data in this fixture.

Avoid three silent mistakes

  • A COUNTIF of North plus a COUNTIF of Open would double-count rows and is not the same as logical AND.
  • Each criteria range must cover the same five rows, without an off-by-one error.
  • Depending on locale, arguments may be separated by a comma instead of a semicolon. Prefer the destination editor’s formula insertion tools when transferring examples.

Dated evidence is not native parity

Reviewed October 23, 2026: the WPS lesson documents Windows Personal on May 8, 2019, without a numeric build. The Collabora help identified itself as Office 26.04 desktop help when checked; its latest-help URL can change. These are documented migration candidates, not new native tests or proof of current-build, other-client or paid-edition parity. Collabora’s plain-text example assumes whole-cell matching.

The five-row fixture independently gives helper values 1, 0, 1, 0, 0 in G2:G6 and count 2. The existing Calc 25.2.3.2 native result retains its original scope. Google’s worksheet reference supplies no numbered Sheets release or introduction date. Evidence differs by task: these COUNTIFS findings do not upgrade other comparisons.

Evidence standard: Only LibreOffice rows labelled β€œNative tested” were run as executable fixtures. Other entries reflect vendor help or a separately labelled workaround. Dates and versions are shown when known. Last editorial research: 2026-10-23.

← Back to all comparisons