Build an Excel conditional summary formula

Autor: AILesson5 Min. EinrichtungszeitGetestet mit:ChatGPTGeprüft am: 2026-08-28

Schnelle Antwort

Create a SUMIFS, COUNTIFS, or AVERAGEIFS formula from explicit criteria. Angeben: Summary question, Table layout, Criteria and boundary rules. Erwartetes Ergebnis: A criteria-safe summary formula with date, blank, and range checks.

1

Kontext hinzufügen

Dein Text bleibt in diesem Browser. AILesson Prompts sendet ihn nicht an ein Modell oder einen Server.

2

Dein Prompt

Nicht ausgefüllte Felder bleiben als Platzhalter sichtbar, sodass du den Prompt weiterhin kopieren und bearbeiten kannst.

Create an Excel conditional summary formula.

Question:
[question]

Table layout:
[layout]

Criteria and boundary rules:
[criteria]

Choose SUMIFS, COUNTIFS, AVERAGEIFS, or another standard function only after defining the aggregation and each criteria range. Use equal-sized ranges and real Excel dates. Explain wildcard behavior and whether blanks, errors, hidden rows, and duplicate records are included. Return a structured-reference formula when a table name is supplied, a cell-range alternative, and four test cases including a date boundary and a no-match result.
Im Playground ausprobieren
Standardmäßig privatDer Prompt wird lokal in deinem Browser zusammengestellt. Gib keine vertraulichen Informationen in einen KI-Dienst ein, es sei denn, deine Organisation erlaubt dies.

Von der Eingabe zum Ergebnis

Ein ausgearbeitetes Beispiel

Sieh dir an, wie konkreter Kontext dieses Rezept in ein nutzbares Ergebnis verwandelt.

Tatsächliche Eingabe

Summary question
Sum net revenue for completed online orders in June 2026 for the East region.
Table layout
Excel Table named Orders with columns OrderDate (date), Region (text), Channel (text), Status (text), and NetRevenue (number).
Criteria and boundary rules
Include 1 June through 30 June 2026. Region, Channel, and Status must be exact matches. Exclude cancelled or blank statuses naturally by requiring Completed. Duplicate rows are data errors and are not automatically removed.

Beispielausgabe

Use SUMIFS because one numeric field is summed under multiple row-level conditions.

Table formula =SUMIFS(Orders[NetRevenue],Orders[OrderDate],">="&DATE(2026,6,1),Orders[OrderDate],"<"&DATE(2026,7,1),Orders[Region],"East",Orders[Channel],"Online",Orders[Status],"Completed")

Using “less than 1 July” includes every time on 30 June even if OrderDate contains timestamps. Text criteria are exact apart from Excel's usual case-insensitivity. Blank and cancelled statuses do not match Completed. Hidden rows are included; duplicate rows are also included and must be checked separately.

Range version: if rows are 2–1000 and columns A:E follow the stated order, use =SUMIFS($E$2:$E$1000,$A$2:$A$1000,">="&DATE(2026,6,1),$A$2:$A$1000,"<"&DATE(2026,7,1),$B$2:$B$1000,"East",$C$2:$C$1000,"Online",$D$2:$D$1000,"Completed"). Test 1 June, a normal June row, 30 June 23:00, and a no-match subset against manual totals.

Warum das funktioniert

  1. 1

    Separating the value range from each criteria range prevents shifted-range errors.

  2. 2

    Explicit date boundaries avoid silently excluding the last day of a reporting period.

Ergebnis prüfen

  • Are every sum and criteria range the same size?

  • Are start and end dates inclusive exactly as intended?

  • Does a manual subtotal for a small sample match the formula?

Sicher nutzen

Häufig gestellte Fragen

Praktische Antworten dazu, wann du dieses Rezept verwenden solltest, was du bereitstellen solltest und wo menschliche Prüfung weiterhin wichtig ist.

What should I prepare before using “Build an Excel conditional summary formula”?

For “Build an Excel conditional summary formula,” prepare Summary question, Table layout, and Criteria and boundary rules. Replace placeholders only with information you can verify. If a detail is unknown, preserve that uncertainty explicitly instead of asking the model to infer it.

When is the “Build an Excel conditional summary formula” result not ready to use?

The result is not ready if it does not yet deliver the stated outcome—A criteria-safe summary formula with date, blank, and range checks—from the supplied evidence, or if it relies on unresolved assumptions, missing approvals, or invented details. Use the checks as release gates: revise the source inputs or assign a named, authorized reviewer instead of polishing an unsupported output.

Which AI tools have recorded tests for “Build an Excel conditional summary formula”?

The published test record for “Build an Excel conditional summary formula” lists ChatGPT as of 2026-08-28. This confirms recorded runs, not guaranteed compatibility or identical results in later product versions. For another tool or version, keep every constraint visible and repeat the result checks before use.

Weitere Möglichkeiten zum Entdecken

Wo dieses Rezept hineinpasst

Bring die Arbeit voran