Erstellen Sie jede Excel- oder Google-Sheets-Formel aus einer Beschreibung in einfachem Englisch

Warum dieser Prompt wichtig ist
The average professional spends over 4 hours a week on spreadsheet tasks. Complex formulas — nested IFs, array formulas, XLOOKUP — stop most people cold. Without help, you spend an hour on Stack Overflow hunting for something close enough to adapt, or you settle for a pivot table that gives you 80% of the answer. This prompt gives you the formula and the understanding to verify it and adapt it when your data changes.
Wofür wir ihn verwenden
You're building a quarterly report and need formulas to calculate tiered commissions, flag overdue invoices, and cross-reference sales data from three different sheets — but you know what you want, not which combination of VLOOKUP, IF, and SUMPRODUCT will get you there.
Prompt
Act as a senior spreadsheet consultant with 15 years of experience in Excel and Google Sheets, who specializes in translating business requirements into formulas that non-technical users can understand and maintain. I need to build a formula for the following task: [DESCRIBE YOUR CALCULATION IN PLAIN ENGLISH — e.g., "I want to find the total sales for each region, but only count sales where the status is 'Closed Won' and the deal size is above $10,000"] My spreadsheet has these columns: [LIST YOUR COLUMN NAMES AND WHAT THEY CONTAIN — e.g., "Column A: Sales Rep Name, Column B: Region, Column C: Deal Status, Column D: Deal Size, Column E: Close Date"] I am using: [Excel / Google Sheets] INSTRUCTIONS: 1. Write the exact formula I should enter 2. Break down every function and argument in plain English — explain what each piece does and why 3. List any assumptions you made about my data 4. Flag common mistakes or edge cases (empty cells, wrong data types, case sensitivity) 5. Provide an alternative approach if a simpler formula exists 6. If Google Sheets and Excel syntax differ for this formula, show both versions Output format: FORMULA: [the exact formula to copy and paste] HOW IT WORKS: [step-by-step explanation of each function] ASSUMPTIONS: [what I assumed about your data] WATCH OUT FOR: [common errors and edge cases] SIMPLER ALTERNATIVE (if available): [a less complex approach if one exists]
Ergebnis
User's input: "I need to calculate the commission for each sales rep. Commission is 5% of total sales if they sold under $50,000 this month, 7% if between $50,000–$100,000, and 10% if over $100,000. Column A has rep names, Column B has their total monthly sales."
FORMULA:
=IF(B2<50000, B2*0.05, IF(B2<=100000, B2*0.07, B2*0.1))
HOW IT WORKS:
This formula uses nested IF statements to apply tiered commission rates. Starting from the outside in:
IF(B2<50000, ...)— Checks whether the sales total in B2 is less than $50,000. If TRUE: calculates B2*0.05 (5% commission) and stops. If FALSE: moves to the inner IF.IF(B2<=100000, ...)— Since we already know B2 is at least $50,000, this checks if it's $100,000 or under. If TRUE: calculates B2*0.07 (7% commission). If FALSE: must be above $100,000.B2*0.1— The final 10% tier applies to any value above $100,000.
To apply to the full column, drag this formula down from row 2 to match your data range.
ASSUMPTIONS:
- Column B contains numeric values (not formatted as text — left-aligned numbers indicate text format)
- Row 2 is your first data row (Row 1 is your header)
- Sales totals are already summed monthly totals, not individual transactions
WATCH OUT FOR:
- Empty cells: If B2 is blank, the formula returns 0. Add
IF(B2="","",IF(...))to return blank instead of zero if preferred. - Negative values: If a rep had returns that brought their total negative, the first tier fires and produces a negative commission. Add
MAX(0, [formula])to floor it at zero. - Boundary confusion: $50,000 and $100,000 fall into the middle and top tiers respectively — the formula uses <= not < at the second check to include $100,000 in the 7% tier.
SIMPLER ALTERNATIVE:
If you add a lookup table with thresholds in one column and rates in another, you can replace the nested IF with VLOOKUP using approximate match:
=B2*VLOOKUP(B2, {0,0.05;50000,0.07;100000,0.1}, 2, TRUE)
This is easier to update when rates change — just edit the numbers in one place rather than rewriting nested logic. Works in both Excel and Google Sheets. When commission tiers change next quarter, your manager can update the table without touching the formula.
Komplexe Tabellenkalkulationsformeln sind ein Produktivitätsabgrund. Sie wissen genau, welche Analyse Sie benötigen — Verkaufsdaten aus drei Blättern abgleichen, Rechnungen älter als 30 Tage markieren, gestaffelte Boni berechnen — aber sobald VLOOKUP, SUMPRODUCT oder ein verschachteltes IF auftaucht, rufen die meisten Profis entweder einen Kollegen an oder geben sich mit etwas Einfacherem zufrieden.
Dieser Prompt beseitigt diese Reibung. Er fungiert als leitender Tabellenkalkulationsberater, der nicht nur die korrekte Formel schreibt, sondern jedes Argument in einfachem Englisch erklärt, Grenzfälle markiert, bevor sie falsche Ergebnisse verursachen, und eine einfachere Alternative bietet, wenn eine existiert.
Was diesen Prompt anders macht
Die meisten Anfragen an KI für Tabellenhilfe liefern eine Formel ohne Erklärung — Sie können nicht überprüfen, ob sie korrekt ist, und wenn sich Ihre Datenstruktur ändert, können Sie sie nicht anpassen. Dieser Prompt ist um fünf strukturierte Ausgabeabschnitte herum entworfen, die Ihr Verständnis aufbauen, nicht nur eine Antwort liefern:
- FORMULA — Die exakte Formel zum Kopieren und Einfügen
- HOW IT WORKS — Jede Funktion und jedes Argument in einfachem Englisch erklärt
- ASSUMPTIONS — Was die KI über Ihre Datenstruktur angenommen hat
- WATCH OUT FOR — Leere Zellen, als Text formatierte Zahlen, Randbedingungen
- SIMPLER ALTERNATIVE — Ein weniger komplexer Ansatz, falls vorhanden
Dieser letzte Abschnitt ist oft der wertvollste. Eine funktionierende SUMPRODUCT-Formel ist beeindruckend; eine Nachschlagetabelle mit VLOOKUP-Näherungstreffer, die Ihr Manager selbst aktualisieren kann, ist bessere Technik. Der Prompt fordert explizit beide Optionen an.
Für wen das ist
Dieser Prompt bietet den größten Nutzen für Analysten, Betriebsleiter, Finanzteams und Projektmanager, die Tabellenkalkulationen als ihr primäres Datenwerkzeug verwenden, aber keine Formel-Power-User sind. Wenn Sie klar beschreiben können, welche Berechnung Sie benötigen, aber nicht wissen, welche Excel-Funktionen zu kombinieren sind — dieser Prompt ist für Sie.
So verwenden Sie ihn
Füllen Sie vor dem Absenden zwei Abschnitte in eckigen Klammern aus:
- Beschreiben Sie Ihre Berechnung in einfachem Englisch. Seien Sie spezifisch — „Verkäufe zählen, bei denen der Status „Closed Won“ ist und die Deal-Größe zehntausend Dollar übersteigt“ ist viel besser als „Verkäufe zählen“. Je präziser Ihre Beschreibung, desto genauer die Formel. Fügen Sie Bedingungen, Schwellenwerte oder Ausnahmen hinzu.
- Listen Sie Ihre Spaltennamen und deren Inhalt auf. Nennen Sie die relevanten Spalten: Spalte A Name des Vertriebsmitarbeiters, Spalte B Region, Spalte C Deal-Größe.
Geben Sie Excel oder Google Sheets an. Wenn sich die Syntax unterscheidet — XLOOKUP existiert nicht in Sheets — liefert der Prompt automatisch beide Versionen.
Beispiel für eine reale Ausgabe
Für ein Problem mit gestaffelten Verkaufsprovisionen — fünf Prozent unter fünfzigtausend Dollar, sieben Prozent zwischen fünfzig und einhunderttausend, zehn Prozent über einhunderttausend — erzeugt der Prompt die verschachtelte IF-Formel, eine Erklärung in einfachem Englisch jeder Stufenprüfung, eine Warnung, dass leere Zellen Null statt leer zurückgeben, einen Hinweis, dass negative Verkaufssummen negative Provisionen erzeugen, und eine VLOOKUP-Array-Alternative, die einfacher zu warten ist, wenn die Provisionssätze im nächsten Quartal geändert werden.
Kompatible Modelle
Optimiert für Claude Sonnet 4.6 und GPT-4o, die beide zuverlässige strukturierte Mehrfachabschnittsausgaben liefern. Funktioniert auch mit Gemini 2.5 Pro. Bei Formeln, die mehrere Blätter umfassen oder komplexe Querverweise beinhalten, neigt Claude dazu, klarere Erklärungen verschachtelter Logik zu produzieren.