How to track habit streaks and completion rate in Excel or Google Sheets

Annual Habit Tracker Spreadsheet — habit dashboard with completion against target, best streak, habits at a glance and check-ins by category

Measure a habit against its own weekly target, not against every day of the month: monthly target = target days per week × days in the month ÷ 7, and completion = check-ins ÷ that target. A habit you plan three days a week and do 11 times in February has hit 91.7% of its target — not the 39.3% you get by dividing by 28 days. For streaks, use a helper row that adds 1 for each marked day and resets to 0 on an unmarked one, and let the first day of each month continue from the last day of the previous month, so a run from 20 January to 8 February counts as 20 days, not 12 and 8.

Those two decisions — weekly targets and streaks that cross months — decide whether a habit tracker tells you the truth or quietly discourages you.

Why "% of days" is the wrong score

Most habit trackers divide check-ins by days in the month. That works for a daily habit and fails for everything else. Going to the gym three times a week is a success; scored against 28 days, it looks like a 43% failure every single week. People abandon trackers that keep telling them they are failing at something they are actually doing.

A weekly target fixes it. You choose a realistic number of days per week for each habit (1 to 7), and the spreadsheet scales it to each month:

Monthly target = target per week × days in month ÷ 7

A worked example

Habit: Read 10 pages, target 3 days a week, tracked in 2026.

Month Days Monthly target Check-ins % of target % of days
January 31 3 × 31 ÷ 7 = 13.29 14 105.4% 45.2%
February 28 3 × 28 ÷ 7 = 12.00 11 91.7% 39.3%

By hand: 14 ÷ 13.29 = 1.054 → 105.4%; 11 ÷ 12 = 0.917 → 91.7%; 11 ÷ 28 = 0.393 → 39.3%.

The streak. You read every day from 20 January to 8 February. January holds 12 of those days (20 to 31) and February 8 — a single 20-day streak. A tracker that restarts counting on the 1st shows two short runs of 12 and 8 and hides your best run of the year.

Year to date. The same idea works across months. A "Morning walk" habit at 5 days a week, tracked from 1 January to 29 March 2026 (31 + 28 + 29 = 88 days), has a target to date of 5 × 88 ÷ 7 = 62.86 check-ins. With 61 check-ins, that is 61 ÷ 62.86 = 97% of target. This is the sample data that ships in the spreadsheet, shown in the image above.

The formulas, if you build it yourself

Set up one sheet per month. Put the first date of the month in B1, habits in column A from row 2, days 1–31 in columns B to AF, and each habit's weekly target in AH. A mark is an x or a 1.

  • Check-ins: =COUNTIF(B2:AF2,"x")+COUNTIF(B2:AF2,1)
  • Days in this month: =DAY(EOMONTH($B$1,0))
  • Monthly target: =AH2*DAY(EOMONTH($B$1,0))/7
  • % of target: check-ins ÷ monthly target, formatted as a percentage.

For the streak, add a helper row under each habit (row 3 for the habit in row 2):

  • First day (B3): =IF(OR(B2="x",B2=1),1,0)
  • Every next day (C3, fill right to AF3): =IF(OR(C2="x",C2=1),B3+1,0)
  • Longest run in the month: =MAX(B3:AF3)

To carry a streak into the next month, the first day of February must start from January's last real day, which is not always column AF (February ends at column AC). Use INDEX with the number of days in the previous month:

=IF(OR(B2="x",B2=1),INDEX(Jan!B3:AF3,DAY(EOMONTH(Jan!$B$1,0)))+1,0)

A few more rules make a tracker feel fair:

  • Today's empty cell should not break the streak until tomorrow. You might mark it tonight.
  • Grey out days that do not exist (30 and 31 February) so they are neither counted nor typed into.
  • Allow a tracking start date. If you start in August, January to July should not count against you.

How to do it in the Annual Habit Tracker Spreadsheet

The Annual Habit Tracker Spreadsheet has all of this built in, so the only thing you type each day is an x.

  1. Settings: the year, whether weeks start on Monday or Sunday, a tracking start date, and up to 15 habits with a category and a target of 1–7 days per week.
  2. Jan – Dec: twelve monthly grids with weekday letters, non-existent days greyed out, totals, monthly target, % of target, best streak and weekly subtotals.
  3. Streaks: check-ins, target to date, % of target, best streak and the month it ended in, current streak and this week's count for every habit — with streaks carried across month boundaries.
  4. Year in Pixels and Dashboard: a 31 × 12 colour grid of your year, twelve KPIs and three charts.
  5. Habit Review: automatic monthly stats beside three columns you write yourself.

It works in Excel 2016+ and Google Sheets, with classic formulas only — no macros, nothing locked — and ships with three months of sample data you can clear in a few seconds. Plain arithmetic, no AI guesses.

Open the sample year, look at how the streaks and targets behave, then clear it and add your own habits.

See the Annual Habit Tracker SpreadsheetPrefer paper? Habit Tracker Printables

FAQ

What target should I set for a new habit?

One you can hit in a bad week. It is easier to raise a target from 3 to 4 days a week after a month at 100% than to recover from a month of red numbers at 7 days a week.

Can completion go above 100%?

Yes, and that is useful information: in the example, 14 check-ins against a target of 13.29 is 105.4%. If a habit sits above 100% month after month, the target can go up.

Does a missed day reset everything?

It resets the current streak, but not your check-ins, your percentage or your best streak. A single missed day changes little; two in a row is the pattern worth noticing.

Will these formulas work in Google Sheets?

Yes. COUNTIF, EOMONTH, DAY, INDEX, IF, OR and MAX behave the same in Excel and Google Sheets.

Can I start in the middle of the year?

Yes. Set a tracking start date and count targets only from that day, so the months before it are not counted as misses.

Tools mentioned in this guide

More guides