Skip to content
TriedPrompts

More in Money, Bills & Taxes.

Track grocery spending and visits by store in Google Sheets with Gemini

Joe Fedewa had Gemini build a grocery budget tracker with store visits and totals, then the formulas for Sheets, in under 10 minutes.

Result: WorkedTool: GeminiLevel: Everyday

Copy the prompt

Outcome

Joe Fedewa, a How-To Geek writer who had never learned spreadsheets, wanted to see how often the household shopped at each store, such as Costco for a monthly stock-up, a local market for produce and Target for one-off buys, and how much was spent at each. Fedewa asked Gemini to build a Google Sheet for tracking a grocery budget, with columns for date, store and receipt total, plus a list of stores with visit counts and totals. Gemini built a working "Grocery Budget Tracker" in its canvas, then added an Export to Google Sheets button on request. Fedewa downloaded the CSV, imported it into Google Sheets, and asked Gemini to list every formula and where to put it; once pasted in, the sheet worked. A follow-up asked how to tally shopping trips per month, and one of the options Gemini offered worked. The whole tracker took under 10 minutes, and Fedewa notes this works without a paid Gemini subscription.

Evidence: Article or interviewA newsletter, journalist or interview account of what happened.

WorkedEvidence: Article or interviewPosted Last checked

Level: Everyday. You need: An AI chat app. Some cases need an account, a paid plan or a file of your own.

How to use this

  1. Tap Copy prompt.
  2. Open Gemini.
  3. Paste it into the message box.
  4. Send it, then read the answer before acting on it.
New to this? What's a prompt?

A prompt is the message you send to the AI tool. Copy the one on this page, put your own details where it asks, and read the answer before you act on it.

Prompt

Original prompt

The prompt as the person shared it in the source.

What the prompt labels mean

These are the person's own words, as shared in the source.

I would like you to build a Google Sheet for me. I want it to be for tracking a grocery budget. Column A should be for shopping date, column B is for store name, and column C is for receipt total. I also want Column E to list each store name that gets added, column F keeps track of the number of visits for each of those stores, and column G has the total price of the visits.

Try this in:

Sends the Original prompt shown above. ChatGPT and Grok open with it filled in, and ChatGPT may send it straight away. Gemini and Claude open empty, so we copy the prompt for you to paste. Every button also copies it.

Opens in a new tab. We don't see what you send.

These links are only a shortcut. We're not affiliated with OpenAI, Google, Anthropic or xAI, and your results may not match the source.

Optional stronger version

Our rewrite with extra checks. The poster didn't test it.

Before you start, ask me 1–3 short questions about the details below and wait for my answers. Once I've answered, confirm the plan in one line and run the whole task start to finish.

Goal: A simple Google Sheet that tracks grocery spending and visits by store, with every formula explained.

Questions to ask me first:
- Which stores do you shop at most?
- Do you want monthly totals as well?
- Will you use the sheet on a phone or a computer?

Inputs (fill in or confirm):
- Stores: [LIST]
- Columns: [DATE, STORE, RECEIPT TOTAL]
- Summary: [VISITS AND TOTAL PER STORE, PER MONTH]

Rules:
- Use only standard Google Sheets formulas.
- List each formula with the exact cell it goes in.
- Say when to drag a formula down.
- Keep it working as new rows and new stores are added.

Checkpoint: Show me the column layout before writing formulas.

If you get stuck: If a formula behaves differently in Google Sheets, give the Sheets version.

Verify before you finish: Test the formulas with three sample receipts from two stores.

Output: A column layout, a formula list by cell and a one-line test.

Done when: I can type in a receipt and see visits and totals per store update.

AI tool

Gemini

Source

Posted
by Joe Fedewa (How-To Geek)
Last checked
Method:
How we verify

https://www.howtogeek.com/ive-never-been-good-with-spreadsheets-but-gemini-is-changing-that/

Context: Firsthand article by the writer; date from the article's timestamp. The prompt is quoted from the article; a later prompt asked for the formulas and where to put them.

Tell us how it went A reader message. It is not published on this page, and it is not a test of the prompt.

More in Money, Bills & Taxes

More in PersonalRandom case in Personal