Закрыли октябрь — финансовый директор ждёт отклонения и короткий комментарий. Пройдём весь путь с Claude: выгрузка → проверка ловушек → таблица отклонений → комментарий → Excel с формулами. В учебном файле две ловушки, которые встречаются в каждой второй выгрузке.
October is closed — the CFO is waiting for variances and a short comment. We go the whole way with Claude: export → trap check → variance table → comment → Excel with formulas. The training file has two traps that show up in every other export.
В конце месяца вы сравниваете, что планировали и что потратили. Перерасход на кофе 500 ₸ — не повод для разговора, хотя это +50 %. Перерасход на ремонт машины 80 000 ₸ — повод, даже если это +10 %. Поэтому порог всегда двойной: и в процентах, и в деньгах.
At the end of the month you compare what you planned with what you spent. A 500 ₸ overspend on coffee is not worth discussing, even though it is +50%. An 80,000 ₸ overspend on car repair is, even at +10%. That is why the threshold is always double: in percent and in money.
Задача. «Долина напитков», октябрь. Три центра затрат × восемь статей, тыс. ₸. Нужно: таблица отклонений больше 5 % и больше 1 000 тыс. ₸, комментарий для финансового директора в 5 пунктах, Excel с формулами.
The task. Valley Beverages, October. Three cost centres × eight expense lines, thousand ₸. Needed: a table of variances over 5% and over 1,000 thousand ₸, a 5-bullet comment for the CFO, Excel with formulas.
В файле две ловушки. Не ищите их глазами — пусть найдёт Claude, а вы проверите по ключу в разделе 5.
The file has two traps. Don't hunt for them by eye — let Claude find them, then check against the key in section 5.
| ШагStep | ИнструментTool | ПочемуWhy |
|---|---|---|
| 1–41–4 | Чат: приложить CSV (урок 15-11)Chat: attach the CSV (lesson 15-11) | Claude считает кодом по файлу, вы видите каждый шагClaude calculates with code on the file, you see each step |
| 55 | Тот же чат: «сделай файл Excel» (15-12) или надстройка в Excel (15-13)The same chat: "make an Excel file" (15-12) or the Excel add-in (15-13) | Нужен файл с формулами, который проверит любойYou need a file with formulas anyone can check |
| Каждый месяцEvery month | Проект (15-17) или скрипт Claude Code (15-27)A project (15-17) or a Claude Code script (15-27) | Правила пишутся один раз — см. раздел 9Rules are written once — see section 9 |
Новый чат → приложите CSV → отправьте:
New chat → attach the CSV → send:
Я экономист отдела финансов. В файле — бюджет и факт расходов за октябрь по центрам затрат, тыс. ₸. Опиши файл: колонки, число строк, центры затрат, итоги по бюджету и факту. Отдельно найди всё подозрительное: строки итогов внутри данных, отрицательные суммы, дубли, пустые ячейки. Ничего пока не исправляй — только список с номерами строк.
I am a finance analyst. The file has budget and actual costs for October by cost centre, thousand ₸. Describe the file: columns, number of rows, cost centres, budget and actual totals. Separately find anything suspicious: subtotal rows inside the data, negative amounts, duplicates, empty cells. Don't fix anything yet — just a list with row numbers.
Бухгалтерия подтвердила: факт ремонта Логистики — 1 840, знак ошибочный. Убери строку «Итого Коммерция», поправь знак. Покажи итоги после очистки: бюджет и факт всего и по каждому центру затрат. Исходный файл не меняй — работай с копией.
Accounting confirmed: Logistics repairs actual is 1,840, the sign is wrong. Remove the "Total Commercial" row and fix the sign. Show totals after cleaning: budget and actual overall and by cost centre. Don't change the source file — work on a copy.
По очищенным данным сделай таблицу отклонений: центр затрат, статья, бюджет, факт, отклонение в тыс. ₸, отклонение в %. Покажи только строки, где отклонение больше 5 % И по модулю больше 1 000 тыс. ₸ — оба условия сразу. Сортировка по отклонению в тыс. ₸ по убыванию. Под таблицей — сколько процентов всего перерасхода дают эти строки.
From the cleaned data make a variance table: cost centre, line, budget, actual, variance in thousand ₸, variance in %. Show only rows where the variance is over 5% AND over 1,000 thousand ₸ in absolute terms — both conditions at once. Sort by variance in thousand ₸, descending. Below the table — what share of the total overspend these rows make up.
| Центр · статьяCentre · line | БюджетBudget | ФактActual | Откл.Var. | % |
|---|---|---|---|---|
| Коммерция · РекламаCommercial · Advertising | 16 000 | 19 800 | +3 800 | +23,8 |
| Завод · ЭлектроэнергияPlant · Electricity | 18 500 | 21 200 | +2 700 | +14,6 |
| Логистика · ТранспортLogistics · Transport | 21 800 | 24 300 | +2 500 | +11,5 |
| Завод · РемонтPlant · Repairs | 7 400 | 9 100 | +1 700 | +23,0 |
| Четыре строкиFour rows | 63 700 | 74 400 | +10 700 | 90 % перерасходаof overspend |
Не должно попасть: Коммерция · Прочие +700 (+36,8 %) — процент большой, но меньше 1 000 тыс. Если без очистки — ложная «экономия» Логистики на ремонте −3 740 (−196,8 %).
Should not appear: Commercial · Other +700 (+36.8%) — a big percentage, but under 1,000 thousand. Without cleaning — a false Logistics "saving" on repairs of −3,740 (−196.8%).
Напиши комментарий для финансового директора: ровно 5 пунктов, каждый не длиннее двух строк. Пункт 1 — общий итог месяца. Пункты 2–5 — четыре статьи из таблицы, от большей к меньшей, с суммой и процентом. Причины не придумывай: вместо причины пиши «[причина: уточнить у владельца статьи]». Числа — в тысячах ₸, с пробелами между разрядами.
Write a comment for the CFO: exactly 5 bullets, each no longer than two lines. Bullet 1 — the month's overall result. Bullets 2–5 — the four lines from the table, largest first, with amount and percentage. Don't invent reasons: write "[reason: check with the budget owner]" instead. Numbers in thousand ₸, with thousand separators.
Причины собираете вы: короткое письмо владельцам четырёх статей (шаблон — урок 15-10), ответы вставляете вместо скобок.
You collect the reasons: a short email to the four budget owners (template — lesson 15-10), then paste the answers in place of the brackets.
Сделай файл Excel «План_факт_октябрь.xlsx». Лист «Данные» — очищенные 24 строки, числа числами. Лист «Отклонения» — все 24 строки с формулами: отклонение = факт − бюджет, процент = ЕСЛИОШИБКА(отклонение / бюджет; ""), флаг «Существенно», если процент больше 5 % и отклонение по модулю больше 1 000. Пороги 5 % и 1 000 вынеси в отдельные ячейки вверху. Итоги — формулой СУММ, не числом. Лист «Комментарий» — 5 пунктов из шага 4.
Make an Excel file "Budget_actual_October.xlsx". Sheet "Data" — the cleaned 24 rows, numbers as numbers. Sheet "Variances" — all 24 rows with formulas: variance = actual − budget, percent = IFERROR(variance / budget, ""), flag "Material" if the percent is over 5% and the absolute variance is over 1,000. Put the 5% and 1,000 thresholds in separate cells at the top. Totals with SUM formulas, not typed numbers. Sheet "Comment" — the 5 bullets from step 4.
| Что проверить в готовом файлеWhat to check in the finished file | КакHow |
|---|---|
| ИтогиTotals | 187 200 и 199 140 — как в контрольной точке187,200 and 199,140 — as at the checkpoint |
| Формулы, а не числаFormulas, not numbers | Щёлкните ячейку отклонения — в строке формул должна быть формулаClick a variance cell — the formula bar should show a formula |
| Пороги работаютThresholds work | Поменяйте 1 000 на 500 — флаг должен появиться у Коммерции · ПрочиеChange 1,000 to 500 — the flag should appear on Commercial · Other |
| Нет #ДЕЛ/0!No #DIV/0! | Строки «Реклама» с бюджетом 0 — пустой процент"Advertising" rows with budget 0 — an empty percent |
Claude выдал результат. Что делать дальше?
Claude produced a result. What do you do next?
Правила — в инструкции проекта. Каждый месяц: новый чат в проекте → приложить файл → «сделай отчёт за ноябрь».
Rules go into the project instructions. Each month: a new chat in the project → attach the file → "make the November report".
Выгрузка в папку → двойной щелчок по .bat → готовый Excel. Для тех, у кого это каждую неделю.
Export into a folder → double-click the .bat → a ready Excel. For those doing this every week.
Ты помогаешь экономисту готовить ежемесячный отчёт план/факт по расходам. Единицы — тыс. ₸, с пробелами между разрядами. Сначала всегда: опиши файл и найди строки итогов, отрицательные суммы, дубли, пустые ячейки — и спроси меня, что с ними делать. Исходный файл не меняй. Покажи итоги бюджета и факта после очистки — я сверю их с учётной системой. Существенно: больше 5 % и по модулю больше 1 000 тыс. ₸. Комментарий — 5 пунктов, причины не придумывай: «[причина: уточнить у владельца статьи]». Excel — с формулами, пороги в отдельных ячейках. Если что-то непонятно — спроси.
You help a finance analyst prepare the monthly budget/actual cost report. Units — thousand ₸, with thousand separators. Always first: describe the file and find subtotal rows, negative amounts, duplicates, empty cells — and ask me what to do with them. Don't change the source file. Show budget and actual totals after cleaning — I will reconcile them with the accounting system. Material: over 5% and over 1,000 thousand ₸ in absolute terms. Comment — 5 bullets, don't invent reasons: "[reason: check with the budget owner]". Excel — with formulas, thresholds in separate cells. If anything is unclear — ask.
| ОшибкаMistake | Как правильноDo this instead |
|---|---|
| Сразу просят «отклонения», без проверки файлаAsking for "variances" straight away, without checking the file | Сначала шаг 1: итоги внутри, знаки, дублиStep 1 first: subtotals inside, signs, duplicates |
| Порог только в процентахA threshold in percent only | Двойной порог: процент И суммаA double threshold: percent AND amount |
| Claude сам «исправил» знакClaude "fixed" the sign by itself | Исправление — только после подтверждения у бухгалтерииFix only after accounting confirms |
| В комментарии — правдоподобные причиныPlausible reasons in the comment | Причины — от владельцев статей, у Claude — «[уточнить]»Reasons come from budget owners; Claude writes "[check]" |
| В Excel вписаны числаNumbers typed into Excel | Просите формулы и пороги в ячейкахAsk for formulas and thresholds in cells |