EXCEL · COMMERCIAL ANALYSIS
AI and Excel: how to brief, check and correct an analysis
A practical exercise with fictional data, an AI prompt and a margin error to spot. Learn to check calculations and separate findings from assumptions.
Use AI to structure the question and explore explanations, then check the analysis in Excel. Define the metrics, recalculate totals and ask for specific corrections. A confident answer, or AI confirming it a second time, does not validate it.
Start with the data and a clear question
You want the total gross margin for two products in the same month. This example is fictional: revenue is after discounts and excludes VAT; costs are the cost of goods sold on the same basis. Fees, delivery, marketing and fixed costs are excluded.
In Excel, put Product in A, Revenue_RON in B and Cost_RON in C, with the two products on rows 2 and 3. Add Gross_profit_RON in D and Margin in E. The table shows control results: recalculate them before comparing them with the AI answer.
D2: =B2-C2 E2: =D2/B2 Copy both formulas to row 3. Total margin: =SUM(D2:D3)/SUM(B2:B3)
| Product | Revenue | Cost | Gross profit | Margin |
|---|---|---|---|---|
| A | 1,000 | 600 | 400 | 40% |
| B | 9,000 | 8,100 | 900 | 10% |
| Total | 10,000 | 8,700 | 1,300 | 13% |
A prompt you can copy and adapt
A useful brief explains which decision the analysis supports and what information is missing. You can use the text below in an AI assistant. The formulas use English function names; adapt names and separators to your Excel settings.
Analyse these fictional figures for a single month, in RON excluding VAT: Product A: revenue 1000, cost 600. Product B: revenue 9000, cost 8100. Cost means cost of goods sold. I want to understand the portfolio's gross profitability. Calculate profit and margin by product, then totals and total margin. Define each metric and show the steps, Excel formulas and denominator used. Separate findings supported by the data from assumptions needing more information. Do not infer a cause or a trend without comparative data. Explain what you would check before recommending a price change.
Spot the error and request a specific correction
An incorrect answer written for this exercise, not attributed to any tool: ‘Total margin is the average of the two margins: (40% + 10%) / 2 = 25%.’ The error is in aggregation: the products have different revenue weights.
An independent calculation gives total revenue of 10,000 RON and gross profit of 1,300 RON. Total margin is 1,300 / 10,000 = 13%. In this example, the simple average overstates margin by 12 percentage points.
Go beyond asking ‘are you sure?’. Identify the definition that was applied incorrectly and request revised calculations and conclusions. After the correction, compare the answer with your Excel totals again; AI agreeing with you is not an independent check.
You used the simple average of product margins. Total margin must be total gross profit divided by total revenue. Recalculate from the original data, show the totals and revise your conclusion. Explain why 25% is not the total margin in this example and which assumptions remain unverified.
Turn a checked result into a decision
The data tells us that product B accounts for 90% of revenue, has a 10% margin and contributes 900 RON in gross profit. Product A has a 40% margin but contributes 400 RON. A lower percentage does not automatically mean a lower contribution.
We cannot say margin has fallen: there is only one period. Nor can we automatically recommend increasing the price or removing product B. Demand, customer response to price, competition, stock and additional costs still need to be understood. AI can organise the questions; answers need supporting data.
- Reconcile totals to the source and test formulas against a simple known case.
- Open cited sources and check that they support the claim and the period being analysed.
- Ask explicitly what is missing, what is assumed and what could change the conclusion.
- Use fictional or anonymised data for practice; follow your organisation's rules before entering work data into an external tool.
Do I still need to learn Excel if I use AI?
The fundamentals help you write a clear brief, spot a wrong formula and explain the result. In this exercise, the difference between 25% and 13% comes from understanding the metric and checking the calculation. Speed is useful when you can trust the method.
Apply the reasoning in practice.
Start with the free lesson, or discuss a one-to-one session on this topic using fictional examples.
Need the report built for you?
If you need a deliverable, we can discuss a commercial analysis project separately from coaching.
Explore analysis services and examples →