Build a Habit Tracker in Google Sheets: Streak Grid, Weekly Goals and a Year View

Create a monthly habit grid in Google Sheets where you type an x and the cell turns green, with automatic scores, days that grey out and a year overview.

By ArchTrade Templates · Updated 2026-12-02 · 3 min read

A habit tracker works when it takes five seconds to update and shows progress at a glance. This guide builds a monthly grid in Google Sheets where you type one letter and the day turns green, with a score per habit. It also works in Excel.

Step 1: The grid

In a sheet called January:

  • A1: the title. Use =TEXT(DATE(2027,1,1),"mmmm yyyy").
  • A4: the header Habit.
  • B4:AF4: the days 1 to 31.
  • A5:A19: your habits, up to fifteen.
  • AG4, AH4, AI4: Done, Goal, Score.

To make the sheet reusable for any month, put the first of the month in one cell (for example B1 = 2027-01-01) and make the day headers formulas: =IF(1<=DAY(EOMONTH($B$1,0)),1,"") for day 1, and the same with 2, 3 and so on. Days that do not exist in the month (30, 31, or 29 in February) then stay empty.

Step 2: Turn done days green

Select the grid B5:AF19, open Format > Conditional formatting, choose Custom formula is and enter:

=AND(B$4<>"",LEN(B5)>0)

Pick a green fill and set the text colour to the same green so the letter disappears. Now typing an x (or anything) colours the cell.

Add a second rule for the empty days, with a grey fill:

=B$4=""

Step 3: Done, goal and score

Count the marked cells per habit:

AG5: =COUNTIF(B5:AF5,"?*")

The pattern "?*" counts any non-empty text. For the goal, decide how many days per week you want to do each habit and keep that in a settings column (say AJ5 = 5). The monthly goal is then:

AH5: =ROUND(AJ5*DAY(EOMONTH($B$1,0))/7,0)

And the score, capped at 100%:

AI5: =IF(AH5=0,"",MIN(1,AG5/AH5))

Format column AI as a percentage. A score of 100% means you hit your goal for the month, even if you did not tick every single day.

Step 4: A daily total row

Under the grid, B20 can be =IF(B$4="","",COUNTIF(B5:B19,"?*")). It shows how many habits you completed each day, which makes your best and worst days visible.

Step 5: A year overview

Create a sheet called Year with habits down the side and months across the top. Each cell reads the score from the matching month tab, for example =January!AI5. Select the whole table and add a Color scale under conditional formatting: red at 0%, yellow at 60%, green at 100%. You get a heat map of your year. Average each row to see your strongest and weakest habit.

Tips that make habits stick

  • Start with three habits, not fifteen. Add more only when the first ones feel automatic.
  • Set the goal below perfection. Five days a week beats seven days for two weeks and then quitting.
  • Review weekly. Five minutes on Sunday: what worked, what got in the way, what is the focus for next week?
  • Never break twice. Missing one day is normal. Just do not miss the next one.

Want it ready-made?

My Habit Tracker & Weekly Review Planner has all of this built in: twelve month tabs for any year, a year heat map with a chart, a weekly review sheet and yearly goals with quarterly milestones. It works in Excel and Google Sheets and includes a blank copy.