Work out product margins after discounts and returns
A draft product-level margin table with a row-level calculation trail and missing-cost/return exceptions.
Choose one of three approaches. The steps for that option appear below.
Choose an option above. On a phone, swipe the tabs left or right to see all options →
ChatGPT: calculates margins in Python, you recalculate
ChatGPT runs a code-backed margin calculation on a structured export. You inspect the code and recalculate samples.
You
Get CSV, rules ready
ChatGPT
Calculate in Python
You
Check and save pack
Get the CSV and rules ready
Use:You
Have ready: sales-line CSV (product, transaction ID, units, gross sales, discounts, returns, currency, approved variable costs) and sign convention, period cut-off, tax treatment, contribution-margin definition.
Check
Stop if upload permission is absent. Verify date, currency, completeness and the supplied rules; do not replace missing rules with guesses. Keep inputs in an access-controlled local draft.
Draft the margin table and exceptions
Use:ChatGPT
Only the approved input package from step 1: attach the CSV, paste the rules. ChatGPT shows Python code, row counts, assumptions and exception rows.
Details
What to paste into the tool
Task: Produce a draft product-level margin table with a row-level calculation trail and missing-cost/return exceptions. Inputs: [ATTACH: the approved sales, discount, return and cost CSV from step A-1] [PASTE: sign convention] [PASTE: contribution-margin definition] [PASTE: period cut-off] [PASTE: approved tax treatment, including whether sales and costs include or exclude tax]. Use only these inputs. Show the Python used and a row-level audit trail with source IDs. Apply only the supplied contribution definition. Keep return and discount signs explicit. Do not treat contribution as net profit. Do not allocate overhead unless the owner supplies a rule. Keep currencies separate; use 'not stated' where costs or treatment are absent. Flag zero or negative net sales before computing margin percentages. Never silently drop or repair rows. Report missing facts as 'not stated'. Do not access accounts or external sources, send messages, post entries, change the master ledger, sign, publish or pay. Produce a draft for human review only.
Check the output and save the pack
Use:You
Check the output, correct or reject it; save locally, marked draft. Product totals reconcile to included sales rows and approved costs with the agreed formulas.
Check
Recalculate a normal sale, discounted sale, return, zero-sales row and missing-cost item. Zero denominators: 'not stated'. Do not send, sign, pay, publish, post journals or update master records.
Copilot in Excel: suggests formulas, you build and test
Copilot in Excel suggests formulas from synthetic sample columns only. You apply checked formulas locally to the real draft.
You
Get CSV, rules ready
Copilot in Excel
Suggest formulas
You
Test, build, check
Get the CSV and rules ready
Use:You
Have ready: sales-line CSV (product, transaction ID, units, gross sales, discounts, returns, currency, approved variable costs) and sign convention, period cut-off, tax treatment, contribution-margin definition.
Check
Stop if upload permission is absent. Copilot must not modify the workbook or make a finance decision.
Suggest formulas and explanations
Use:Copilot in Excel
Ask in chat mode for formulas and explanations using synthetic sample rows and column names only, no real figures.
Details
What to paste into the tool
Task: Suggest spreadsheet formulas and test cases for a private draft worksheet, not a finance decision. Inputs: [PASTE: 5-10 synthetic example rows, no real products or amounts] [PASTE: column names] [PASTE: approved sign convention and contribution definition] [PASTE: period cut-off and approved tax treatment]. Use only these inputs. Apply only the supplied contribution definition. Keep return and discount signs explicit. Do not treat contribution as net profit. Do not allocate overhead unless the owner supplies a rule. Keep currencies separate; use 'not stated' where costs or treatment are absent. Flag zero or negative net sales before computing margin percentages. Explain references, date boundaries, sign handling and error conditions. Give formulas as text, with sample expected results; do not edit files. Missing inputs must produce a 'not stated' note or an explicit exception. Do not choose accounting policy or recommend action. Do not send, post, sign, publish or pay.
Test formulas, build the draft, check it
Use:You
Test each formula on synthetic normal and edge cases before applying it. Build the draft yourself; product totals must reconcile to rows and approved costs.
Check
Zero denominators: 'not stated'. Save locally, marked draft. Do not send, sign, pay, publish, post journals or update master records.
Claude: explains your checked result, you calculate by hand
You do all the arithmetic first. Claude only summarises a small, checked text note.
You
Calculate by hand, write note
Claude
Summarise the note
You
Check and save pack
Calculate by hand and write a note
Use:You
Have ready: sales-line CSV (product, transaction ID, units, gross sales, discounts, returns, currency, approved variable costs) and sign convention, period cut-off, tax treatment, contribution-margin definition.
Check
Stop if upload permission is absent. Calculate net sales and contribution by hand; reconcile product totals; note low margins and missing costs.
Summarise the note and list open questions
Use:Claude
Only the approved input package from step 1: the checked note, not the data file. Claude summarises it and lists open questions, no recalculating.
Details
What to paste into the tool
Task: Write a factual product-margin review note quoting checked totals and exceptions, without price-change or product-withdrawal recommendations. Input: [PASTE: the human-checked note from step C-1]. Use only this note. Preserve every amount, unit, date, label and source ID exactly. Do not recalculate, infer missing facts or add a judgement. Apply only the supplied contribution definition. Keep return and discount signs explicit. Do not treat contribution as net profit. Do not allocate overhead unless the owner supplies a rule. Keep currencies separate; use 'not stated' where costs or treatment are absent. Flag zero or negative net sales before computing margin percentages. Say 'not stated' for missing information. Separate facts from open questions. Do not draft an external message or instruct anyone to act. Do not access accounts, send, post, sign, publish or pay. Return internal draft text only.
Check the summary and save the pack
Use:You
Check every sentence and number against your note; remove unsupported interpretations and keep not-stated facts visible. Product totals must reconcile.
Check
Zero denominators: 'not stated'. Save locally, marked draft. Do not send, sign, pay, publish, post journals or update master records.
Compare the three approaches
Option A: ChatGPT: calculates margins in Python, you recalculate
Best when: A structured export needs repeatable batch calculations you can inspect.
What it does: ChatGPT calculates in code; you recalculate samples.
Strong at: Shows the Python code and row-level audit trail.
Limit: Free plan limits file uploads and data analysis.
Free plan: Yes, limited (file uploads, data analysis)
Option B: Copilot in Excel: suggests formulas, you build and test
Best when: You want to build and own the formulas.
What it does: Copilot in Excel suggests formulas; you build and test them.
Strong at: Explains formulas and gives synthetic test cases.
Limit: On iPhone and Android, chat mode only.
Free plan: Paid plan needed
Option C: Claude: explains your checked result, you calculate by hand
Best when: You want to do all the arithmetic yourself.
What it does: You calculate by hand; Claude summarises the checked note.
Strong at: Preserves every amount, date and source ID exactly.
Limit: Usage is capped in 5-hour and weekly windows.
Free plan: Yes, limited (usage capped in 5-hour and weekly windows)
Before you paste into any AI tool, remove any confidential information. Put it back at the end.
Independently recalculate a normal sale, discounted sale, return, zero-sales row and missing-cost item. Tie product totals to transaction totals by currency; verify percentages use the approved denominator.
Reconcile completeness and totals, preserve open questions, and save only a draft.
Check the result against your original inputs. Approve it before sharing or acting.
Availability notes
Based on official product documentation checked on 2026-10-29.
What still needs checking
Results on your own data depend on your inputs and rules. Always check the output yourself.
Owner-approved inputs and policy conventions must be supplied at use time.