How to track your spending in a spreadsheet

Set up a simple sheet with date, item, category and amount, then use SUM and SUMIF to see where your money goes each month.

Time: About 30 minutes to set upDifficulty: Medium

Safety first

  • A spending record is personal financial information.
  • Never type full card numbers, PINs, passwords or online banking details into the sheet.
  • Keep the file on your own device, or in an account with a strong password and two-step sign-in, and do not share it publicly.
  • Build your own sheet as above.
  • Do not download free budget templates from unknown sites or switch on macros in files you do not trust, because they can carry malware.
A printed Monthly Budget page with a ring chart and bar chart lies on a laptop keyboard, with a pair of glasses resting on the trackpad.
Photo: Kindel Media, Pexels licence
Three panels. 1: a spreadsheet with four headings. 2: four purchases entered in rows. 3: category totals worked out with a SUMIF formula.

What you need

Steps

  1. Open a spreadsheet program such as Excel, Google Sheets or LibreOffice Calc, and start a new blank file. Name it Spending tracker.

  2. In row 1, type these headings in cells A1 to D1: Date, Item, Category and Amount. Make the row bold so it stands out.

    A spreadsheet grid with column letters A to D. Row 1 has teal headings: Date, Item, Category and Amount. Rows 2 to 4 are empty.
  3. Choose five to eight categories, such as Food, Transport, Home, Bills, Fun and Other. Type them in column F, starting in F2. Then select column C and add a drop-down list that uses your category list (Data, then Data validation), so you pick a category instead of typing it.

  4. Enter each purchase on its own row: the date, what you bought, its category and the amount as a plain number. For example: 5 Mar, Groceries, Food, 32.40. Do this once a week, using your bank statement, receipts and notes.

    A spreadsheet with four purchases under the headings Date, Item, Category and Amount: Groceries 32.40, Bus pass 20.00, Cinema 12.50 and Lunch 6.80.
  5. To see your total spending, click an empty cell, type =SUM(D:D) and press Enter. It adds every number in column D.

    A formula bar showing =SUM(D:D). Below it is column D with the amounts 32.40, 20.00, 12.50 and 6.80, and a highlighted total cell showing 71.70.
  6. To see the total for one category, click the cell beside it in column G and type =SUMIF(C:C,F2,D:D). It adds the amounts in column D for every row where column C matches the category in F2. Copy the formula down for the other categories.

    A formula bar showing =SUMIF(C:C,F2,D:D). Below it is a table of category totals: Food 39.20, Transport 20.00 and Fun 12.50.
  7. Check your work. The category totals should add up to the total from step 5. If they do not, one row has a misspelled or empty category, so fix that row.

    A sum of the category totals Food 39.20, Transport 20.00 and Fun 12.50. A line underneath shows 71.70, the same as the SUM total, with a green tick.
  8. Once a month, look at your biggest category and choose one thing to reduce. Start a new tab for the next month, or keep going and filter your rows by date.

If it did not work

  • The SUM shows 0 or does not add up. The amounts are stored as text. They line up on the left of the cell. Retype them as plain numbers, or format the column as Number, and remove any currency letters.
  • SUMIF gives 0 for a category. The category is spelled differently, or has an extra space, on its rows. Use the drop-down list, and check that the formula points at the right columns.
  • My program shows an error when I type the formula. Some regional settings use a semicolon instead of a comma. Try =SUMIF(C:C;F2;D:D).
  • The totals do not match my bank balance. The tracker only shows spending you have entered. Check for missing entries, cash payments and income, and compare it with your bank statement.
  • I keep forgetting to enter things. Set a 10-minute weekly reminder, and keep your receipts in one envelope until then.

Watch a video

How To Make a Simple Budget Tracker in Google Sheets

Opens YouTube in a new tab. This video is made by someone else, not by Drawnsteps, and may differ from the steps above.