Websites, apps & code / Automation

Auto-calculate agent commissions

Several agents sell for you and monthly commission by hand keeps going wrong.

1Fill in your details

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

2Pick a variationYour setup

3Copy the prompt

Please use Google Sheets to calculate agent commissions automatically.
Commission rules: 8% on the first RM5,000 of monthly sales, 12% on the excess; returns are deducted
Sales records: Date, agent name, order no, amount, returned or not

Please:
- Restate the rules with one worked example (say an agent sells RM7,200 in a month) so I can confirm
- Give the monthly summary formulas using SUMIFS by agent and month, handling returns
- Each agent gets an auto-summary I can send for them to verify at month end.
- Show how to add a month dropdown that switches the summary
- Warn me where formulas usually fail (date formats, blank rows)
- Use only my rules. Leave missing numbers as [ ]. Tax questions follow official rules or your accountant.

Output format: rules restated with the example, the formula list and usage steps. Reply in English.

[Make it sound human]
- Explain in plain words; no pleasantry openers or empty summaries.
- Only necessary, short, practical code comments; the simplest working approach, no over-engineering.
- Interface text (buttons, hints, error messages) should sound like a person wrote it; no "seamless", "empower", "unlock".
[Quality] Code must run as is and handle common errors; tell me how to test it and confirm it works; ask first if a requirement is unclear; never put passwords or API keys in the code.

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

Test result

This one was not tested on its own. Uses in this category share the same structure, and we spot-tested several of them, for example: Auto confirmation email after a form, Auto-tidy sheet data

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 your own website, or your shop spreadsheets automated? FullMark Tech builds business websites and custom Excel tools.

Ask on WhatsApp See FullMark Tech services