Before you start. You need a computer and your own CSV/XLSX or the sample rows in step 4. The sample calculation only needs Python and its standard csv module; a paid spreadsheet or external API is not required. Linked prompts are further reading: the rules and check totals are included here. Reading this path is free without a Bible account. Your ChatGPT/Codex access and usage limits are separate; a Bible subscription does not include third-party AI plans, credits or API fees.
Start with the sample CSV below. CSV stores rows and columns as text. Excel can contain sheets and formulas, which need separate checks. Before sharing confidential business data, choose an acceptable way to process it.
Step 1. Define the question
For example: “How many paid orders were recorded for October 10, and what amount is known in each currency?” One day's export can answer this. Comparing sales needs data from another period.
Find the task materials and fill the bracketed fields yourself from them.
I want to analyze [file] and answer [question] for [period]. I need the result to help decide [decision]. Clarify what each row represents, which statuses to include, and what the amounts mean. Propose calculation rules. Once I approve them, save them in [report folder].
Step 2. Provide a copy
Attach the file or give its path. Work with a copy. If Codex cannot read it, it should explain how to provide access. The sample exercise needs no business documents.
Find the task materials and fill the bracketed fields yourself from them.
Read [file]. Save a working copy in a new [report folder], leaving the original unchanged. Record the source and date. Show the format and available reading method. If access is missing, explain what I need to do.
Step 3. Check how the file was read
Compare a few rows with the original: IDs such as 0001 must keep their zeros, and dates and amounts must be read correctly. CSV text in quotes can contain commas; a CSV parser handles this.
For Excel, choose the sheet first. A saved formula value may be outdated, so check recalculation in the application where you will use the workbook. Microsoft explains how to keep leading zeros. MarkItDown can help read documents as text; it does not replace Excel calculations.
Find the task materials and fill the bracketed fields yourself from them.
In [report folder], show the columns, record count, and first rows of the working copy. Keep order IDs as text and retain links to source rows. For Excel, list sheets and formulas and suggest a suitable sheet. Check hidden rows and filters. Explain whether recalculation is available; do not run macros or external links.
Step 4. Try the sample data
Skip this step if you are using your own spreadsheet. Here, each row is a record of one order. paid, refunded, and pending describe the payment status. The amount is in the order's currency.
Create a sample orders.csv in a new folder using these data:
order_id,date,status,amount,currency
0001,2026-10-10,paid,120.00,RUB
0002,2026-10-10,paid,80.00,RUB
0002,2026-10-10,paid,80.00,RUB
0003,2026-10-10,paid,,RUB
0004,2026-10-10,refunded,50.00,RUB
0005,2026-10-10,paid,0.00,RUB
0006,2026-10-10,paid,20.00,USD
0007,unknown,paid,30.00,RUB
0008,2026-10-10,pending,40.00,RUB
0009,2026-10-10,paid,-10.00,RUB
0010,2026-10-11,paid,100.00,RUB
Check for 11 records and 5 columns. Keep leading zeros in IDs. Leave the errors for the next step and do not overwrite existing files.
Step 5. Agree on questionable rows
In the sample, count the exact repeat of 0002 once. The blank amount for 0003 stays unknown; 0005 has a real zero. Orders 0007 and 0009 need clarification. Order 0010 is outside the period, and 0004 and 0008 are not paid.
For your own data, clarify what repeated IDs mean first: several rows may represent separate items in one order. Read clean a spreadsheet while preserving questionable rows for more.
Find the task materials and fill the bracketed fields yourself from them.
For the data in [report folder], propose rules for blanks, repeats, and conflicting values. Show a decision for each source row and wait for my approval. For the sample CSV, include only paid orders for 2026-10-10 and count exact repeats once. If one ID has different values, exclude all its versions until clarified. Blank amounts stay unknown; zeros stay zero. Put invalid dates and unexplained negative amounts in the issues list. Calculate each currency separately. Preserve the original.
Step 6. Calculate the answer
The sample should give five paid orders: four RUB and one USD. Known amounts: 200 RUB and 20 USD. One RUB order has no amount. The full monetary total is unknown.
Account for every record: 11 = 1 repeat + 2 issues + 1 outside the period + 2 other statuses + 5 included. The mean of the three known RUB amounts is 200 / 3 = 66.67. The mean across all four RUB orders is unknown. These are order amounts; calculating profit also needs expenses.
Find the task materials and fill the bracketed fields yourself from them.
Use the agreed rules in [report folder] to run the calculation. Show paid order counts, known amounts, and missing amounts separately by currency. For every figure, show the source rows and formula. Check that each record is accounted for exactly once. Preserve decimal precision for money; round only the final display. Label the mean and show the count of known amounts used as its divisor.
Step 7. Check the calculation
Start each scenario with a fresh copy of the sample CSV.
| Change | Expected result |
|---|---|
| Set 0003 amount to 60 | RUB 260; no missing amounts; RUB mean 65 |
| Blank the amount for 0005 | RUB 200; 2 missing amounts; 2 known RUB amounts |
| Change 0006 currency to RUB | RUB 220; no USD orders |
| Set the second 0002 amount to 81 | Both versions excluded; RUB 120 |
| Keep only the header | No data; mean unknown |
| Make the file unavailable | Read error |
Test the sample calculation using separate copies of the original CSV: set 0003 to 60 (RUB 260, mean 65); blank 0005 (RUB 200, two missing amounts); change 0006 to RUB (RUB 220); change the second 0002 to 81 (both versions excluded, RUB 120); keep only the header; test an unavailable file. Compare expected and actual results for each case. Repeat the original calculation and check that the file and IDs are unchanged. Fix errors and repeat affected checks.
Step 8. Save the report
Start with a text report and CSV files containing calculations and issues. Every conclusion needs source rows. Use a chart when it helps answer the question; a table is enough for this small sample.
If you need Excel formulas, ask Codex to check that changing an input changes the result. An option without Excel is CSV plus an editable text report. CSV does not preserve workbook sheets, formatting, or formulas.
Find the task materials and fill the bracketed fields yourself from them.
Package the results from [report folder]: a text report, calculation table, issues list, agreed rules, and test results. State the question, period, currencies, known amounts, and missing data. Link conclusions to source rows. Open the saved files and check readability. Output format: [CSV and text / Excel]. If Excel formulas are selected, check recalculation after changing an input in the target application.
Step 9. Repeat with a new export
The new export may contain old orders. First establish whether it replaces the previous export or adds events. Save each report separately.
Find the task materials and fill the bracketed fields yourself from them.
Analyze [new file] using the rules in [report folder]. Compare columns and data meaning. Clarify whether this export replaces or adds to the previous one. Then repeat calculations and checks. Save the new report separately and keep the previous report. If the rules no longer fit, propose changes and agree them with me.
Step 10. Fix the result and choose the next step
After completing the plan, you will have a report with traceable figures and a separate issues list. Check the sample against five orders, known amounts of 200 RUB and 20 USD, one missing amount, and two problematic orders.
If an answer does not add up, start with a specific row and rule. Save the previous report and make corrections in a new copy. Once calculations are checked, see Create a spreadsheet with formulas, a report and a chart or a local report.
Find the task materials and fill the bracketed fields yourself from them.
In report [path], [figure or row] does not match. Compare the source data, rules, and calculation. Find the cause, fix it in a new copy, and repeat related checks. Show which conclusions changed. Keep the previous report; if I need to return to it, prepare a separate copy.