How to Make a Habit Tracker in Google Sheets

How to Make a Habit Tracker in Google Sheets

A habit tracker is one of the simplest spreadsheets you can make, and one of the most motivating. Every tick is a small win, and a row of ticks is hard to break. Here's how to build one in Google Sheets with checkboxes, a completion rate and a streak count, plus how to pick habits that last past January.

Step 1: Lay out the month

  1. Create a new sheet and name the tab after the month, for example January.
  2. In A1 type Habit. In B1 type the first day of the month as a date, for example 1/1/2027.
  3. In C1 type =B1+1 and copy it across to AF1, so you have 31 day columns.
  4. Select B1:AF1 and use Format > Number > Custom date and time to show just the day (d). Narrow the columns to about 30 pixels.
  5. For months shorter than 31 days, grey out or hide the extra columns.

Step 2: Add your habits and checkboxes

List your habits in column A, starting in A2: one per row. Then select the grid (for example B2:AF8 for seven habits) and choose Insert > Checkbox. Every cell becomes a box you can tick with a click. A ticked box is TRUE, an empty one FALSE, which is what makes the formulas below possible.

Step 3: Count completions

Add a few summary columns to the right of the grid:

  • Done (in AG2): =COUNTIF(B2:AF2, TRUE)
  • Rate so far (in AH2): =AG2 / MAX(1, MIN(31, TODAY()-$B$1+1)), formatted as a percentage. It divides by the days that have passed this month, not by 31, so it's fair on the 5th as well as on the 30th.

Copy both down for every habit.

Step 4: Count your current streak

Streaks are the most motivating number in any habit tracker. This formula counts consecutive ticked days up to yesterday, then adds today if it's ticked, so an unticked morning doesn't reset your streak before you've had a chance:

=IFERROR(TODAY()-1-MAX(FILTER($B$1:$AF$1, ($B$1:$AF$1<TODAY())*(B2:AF2=FALSE))), TODAY()-$B$1) + (INDEX(B2:AF2, DAY(TODAY()))=TRUE)

It finds the last missed day before today and counts the days since. If you haven't missed a day this month, it counts every day so far. Format the cell as a plain number. (This version counts within the current month's tab. It also works in Excel for Microsoft 365.)

Step 5: Make it visual

  • Colour the ticks: select the grid, Format > Conditional formatting, "Custom formula is" =B2=TRUE, with a fill colour. A month of colour is more satisfying than a month of tick marks.
  • Highlight today: a rule on B1:AF1 with =B$1=TODAY() marks today's column.
  • Add progress bars: in a column next to the rate, =SPARKLINE(AH2, {"charttype","bar";"max",1}) draws a small bar for each habit.

Choosing habits you'll actually keep

The spreadsheet is the easy part. A few rules make the habits stick:

  • Start with three to five. Ten new habits on January 1 is a recipe for none by February. Add more once the first ones feel automatic.
  • Make each one a yes or no. "Read 10 pages" can be ticked; "read more" can't.
  • Make it small. A two-minute version you do every day beats an hour you do twice. You can always do more than the minimum.
  • Attach it to something you already do. "After I pour my coffee, I write in my journal" works better than "journal sometime today".
  • Never miss twice. Missing a day is normal. Missing two in a row is how habits end. If you miss, make the next day non-negotiable.
  • Tick at the same time every day. Keep the tracker open on your phone (the Google Sheets app works well) and tick before bed.

Prefer a ready-made tracker?

Our Habit Tracker does all of this for a whole year: name up to 10 habits, tick the days you do them, and the dashboard shows today's check-ins, your week, your month habit by habit and your longest streaks. It works in Google Sheets and Excel, with a sample file to see how it all fits together. If your goals go beyond daily habits, the 2027 Goal Planner and the Life Planner are worth a look.

Regresar al blog