Category: Budgets & Money

  • Invoice Status in Google Sheets: Paid, Due or Overdue Automatically

    Quick answer: with the due date in E4 and the date you were paid in F4, use =IF(F4<>"","Paid",IF(TODAY()>E4,"Overdue","Due")). A paid date always wins; otherwise the invoice is Overdue once today is past the due date, and Due until then.

    The sheet

    Put =TODAY() in I1 and point every formula at $I$1 instead of calling TODAY() in each row. It’s easier to read, and you can type a fixed date into I1 to check what your list will look like next week. The examples below use 2026-12-15 in I1.

    Invoice Client Amount Issued Due Paid on Status Days overdue
    INV-101 Acme 1,200 2026-11-01 2026-12-01 2026-11-28 Paid
    INV-102 Brightway 450 2026-11-10 2026-12-10 Overdue 5
    INV-103 Acme 800 2026-11-20 2026-12-20 Due
    INV-104 Northpeak 2,300 2026-10-15 2026-11-14 Overdue 31
    INV-105 Brightway 300 2026-12-01 2026-12-31 2026-12-05 Paid

    Status and days overdue

    In G4, copied down:

    =IF(F4<>"", "Paid", IF($I$1>E4, "Overdue", "Due"))
    

    In H4:

    =IF(G4="Overdue", $I$1-E4, "")
    

    INV-104 was due on November 14, so on December 15 it is 31 days overdue. INV-105 is not due until December 31 but already shows Paid, because the paid date is checked first. An invoice due today still shows Due; it becomes Overdue tomorrow.

    If you write the due date by hand, you can calculate it instead: =D4+30 for net 30, or =WORKDAY(D4,10) for 10 business days.

    The totals you actually check

    What Formula Result
    Still to be paid =SUMIFS(C4:C8,G4:G8,"<>Paid") 3,550
    Overdue amount =SUMIFS(C4:C8,G4:G8,"Overdue") 2,750
    Overdue invoices =COUNTIF(G4:G8,"Overdue") 2
    Due in the next 7 days =SUMIFS(C4:C8,G4:G8,"Due",E4:E8,"<="&$I$1+7) 800

    The last one is the list to send reminders for before anything goes late.

    Make overdue rows stand out

    Select A4:H8, open Format > Conditional formatting, choose “Custom formula is” and enter =$G4="Overdue" with a red fill. Add a second rule, =$G4="Paid", with grey text so paid invoices fade into the background.

    Common problems

    • Nothing ever turns Overdue. The due dates are probably text, not dates. =ISNUMBER(E4) should return TRUE.
    • An unpaid invoice says Paid. There’s probably a space in the Paid on cell that you can’t see. Clear the cell, or test =TRIM(F4)<>"" instead.
    • Partial payments. Add an “Amount paid” column and test =IF(J4>=C4,"Paid",…) so an invoice is only Paid when the full amount has come in.

    Skip the setup

    The Invoice & Payment Tracker ($12) has this status logic built in, plus client rates that fill in automatically, tax, a dashboard of the last 12 months and a printable invoice. Code SHEETS30 takes 30% off. It’s our own template, so we earn money if you buy it (see the disclosure).

    See every template side by side on the Templates page.


    Formulas checked on the sample data above. Written with help from AI (Claude).

  • Monthly Budget in Google Sheets: Planned vs Actual by Category (SUMIFS)

    Quick answer: put the month’s first day in B1, then for each category use =SUMIFS(Transactions!D:D, Transactions!C:C, A4, Transactions!A:A, ">="&$B$1, Transactions!A:A, "<"&EDATE($B$1,1)). It adds up every transaction in that category for that month only. Planned minus actual gives you what’s left.

    The setup

    Two tabs. Transactions is where you log spending: Date in column A, Description in B, Category in C, Amount in D. Budget holds one row per category with the amount you planned.

    Date Description Category Amount
    2027-01-03 Rent Housing 1,200.00
    2027-01-05 Supermarket Groceries 86.40
    2027-01-12 Supermarket Groceries 112.15
    2027-01-14 Bus pass Transport 65.00
    2027-01-20 Cinema Fun 28.00
    2027-01-26 Supermarket Groceries 94.30
    2027-01-29 Dinner out Fun 74.50
    2027-02-03 Rent Housing 1,200.00
    2027-02-06 Supermarket Groceries 101.20

    Actual spending per category, for one month

    On the Budget tab, type 2027-01-01 in B1. Categories go in A4:A7 and planned amounts in B4:B7. In C4:

    =SUMIFS(Transactions!$D:$D, Transactions!$C:$C, A4,
            Transactions!$A:$A, ">="&$B$1,
            Transactions!$A:$A, "<"&EDATE($B$1,1))
    

    Copy it down. The two date conditions mean “on or after January 1” and “before February 1”, so the February rows are ignored. EDATE($B$1,1) is one month after B1, so this works for every month, including February and leap years.

    Then D4 is =B4-C4 (left) and E4 is =IF(B4=0,"",C4/B4) (% used, format as percent).

    Category Planned Actual Left % used
    Housing 1,200.00 1,200.00 0.00 100%
    Groceries 280.00 292.85 −12.85 105%
    Transport 80.00 65.00 15.00 81%
    Fun 90.00 102.50 −12.50 114%
    Total 1,650.00 1,660.35 −10.35

    Change B1 to 2027-02-01 and the Actual column switches to February (Housing 1,200.00, Groceries 101.20).

    Count and highlight overspent categories

    =COUNTIF(D4:D7,"<0") returns 2 here (Groceries and Fun). To turn those rows red: select A4:E7, Format > Conditional formatting, choose “Custom formula is” and enter =$D4<0. The $ before D keeps every column in the row checking the Left value.

    Common problems

    • Actual shows 0. Your dates are probably text. Check with =ISNUMBER(Transactions!A2). If it says FALSE, use Data > Split text to columns or retype them as dates.
    • A category is missing money. The category name must match exactly. “Groceries ” with a trailing space is a different category. A dropdown (Data > Data validation, list from a range) on the Category column prevents this.
    • Refunds. Enter them as negative amounts in the same category. SUMIFS nets them out.

    Skip the setup

    If you’d rather start with all of this already built, the 2027 Budget Planner ($12) has these formulas plus a month picker, a year-at-a-glance tab, savings goals and a debt payoff date. It’s our own template, so we earn money if you buy it (see the disclosure).

    See every template side by side on the Templates page.


    Formulas checked on the sample data above. Written with help from AI (Claude).