Trades & professions / Accounting & bookkeeping

Formulas for your bookkeeping sheet

You keep books in Excel and need a formula for a specific job.

1Fill in your details

Leave blank to use the example. Names are remembered for other prompts too (stored only on your device).

2Pick a variationTask

3Copy the prompt

I keep my books in Excel; show me how.

What to calculate: Total spend per category per month; category in C, amount in D, date in A
Sheet layout: Headers in row 1, data from row 2, about 500 rows

Requirements:
- Task: Use SUMIFS and explain each argument.
- Give the formula first, then explain each part, then a 3-row sample with made-up data to check it.
- If my description is unclear, ask first rather than guessing columns.
- Do not ask for my real books; use made-up data.
Output: formula, explanation, check.
Privacy: do not paste real client IC numbers, bank accounts, passwords or tax numbers. The examples use made-up names; strip personal details first. Tax rules follow LHDN and your accountant.

[Make it sound human] Formal, but written like a real person in this field:
- Use the normal wording and format of this profession; no filler like "leverage", "holistic", "committed to excellence".
- No em dashes; don't start paragraphs with "Firstly / Secondly / Finally" every time.
- Stick to concrete facts, dates, figures and actions; no pleasantry openers or slogan endings.
[Quality] Follow this profession's usual format; clear structure, ready to use; check every requirement and re-check figures, dates and names; flag anything legal, tax or medical to be confirmed by a professional or official source; mark uncertainties with [ ].

Paste it into ChatGPT, Gemini, Claude or Meta AI.

Test result

Run on 2026-12-01 with Claude Sonnet 5.5 (variation: Conditional sum), using the example details above. AI never answers word for word the same twice, but the shape stays close.

What we noticed

Description was enough, so I stated assumptions (summary in F and G) rather than stopping to ask. Check gives 1,500 and 1,000.

See what the AI actually wrote

First the assumptions; tell me if any is wrong and I will adjust: dates in column A must be real dates, not text; categories in C; amounts in D; data in rows 2 to 501. I also need somewhere to put results, so I assume category names go down column F from F2 and the first day of a month (for example 2026-01-01) sits in G1. If your summary sits elsewhere, tell me.

Formula (in G2, then copy down and across)
=SUMIFS($D$2:$D$501,$C$2:$C$501,$F2,$A$2:$A$501,">="&G$1,$A$2:$A$501,"<"&EDATE(G$1,1))

What each part does

  • $D$2:$D$501: the amounts to add up (sum_range).
  • $C$2:$C$501 and $F2: first condition, the category in C must equal the name in F2.
  • $A$2:$A$501 and ">="&G$1: second condition, date on or after the first day of the month.
  • $A$2:$A$501 and "<"&EDATE(G$1,1): third condition, date before the first day of the next month. EDATE(G$1,1) moves G1 forward one month.
  • The $ signs lock positions so they do not drift when copied.

Check with 3 made-up rows

A DateC CategoryD Amount
2026-01-05Rent1,000
2026-01-20Rent500
2026-02-03Rent1,000

With "Rent" in F2 and 2026-01-01 in G1, the result should be 1,500. Change G1 to 2026-02-01 and it should be 1,000. If both match, it works.

If you get 0, common causes: dates in A are stored as text, or category names have extra spaces.

AI tools that suit this

  • ChatGPT Suggested tool Free plan

    The most widely used AI chat, for writing, questions and images

  • Claude Suggested tool Free plan

    Strong at long documents, editing and code

  • Gemini Suggested tool Free plan

    Google's AI; generates and edits images, works with Gmail and Docs

Recommendations only, not sponsored. Check each site for what the free plan includes.

This site is made by FullMark Tech

Want to learn to use AI yourself? FullMark Tech runs weekend AI tools workshops and builds websites, WhatsApp auto-booking and Google Maps profiles for shops.

Ask on WhatsApp See FullMark Tech services