Formula Fixer

2027 Habit Tracker in Excel and Google Sheets

Updated 2026-11-27

TL;DR: Put the 365 dates of 2027 in column A (=SEQUENCE(365,1,DATE(2027,1,1)) or DATE(2027,1,1) and +1 down to row 366), add a checkbox column for each habit, then count ticks with =COUNTIF(B2:B366,TRUE). A helper column =IF(B3,F2+1,0) gives a running streak; MAX of it is your longest streak. Checkboxes store TRUE and FALSE, so every formula can use them directly.

A habit tracker is one of the most useful small spreadsheets you can make for the new year: one row per day, one column per habit, and a few formulas that turn ticks into streaks and percentages. It works the same way in Excel and Google Sheets.

Step 1: the dates for 2027

2027 has 365 days. It starts on a Friday and ends on a Friday. In A1 type Date, then in A2:

=SEQUENCE(365,1,DATE(2027,1,1))

SEQUENCE works in Excel for Microsoft 365, Excel 2021 and later, and Google Sheets. In older Excel, type =DATE(2027,1,1) in A2 and =A2+1 in A3, then fill down to A366. Format the column as a date, for example ddd d mmm, so you can see the weekday.

Step 2: add checkboxes

Put a habit name in each column header from B1 (for example Walk, Read, Water, No phone after 10). Select B2:D366, then:

A ticked box is TRUE and an empty box is FALSE. In older versions of Excel without in-cell checkboxes, type an x for done and count with COUNTIF(B2:B366,"x") instead of TRUE.

Step 3: days done and completion rate

Days done this year (habit in column B):
=COUNTIF(B2:B366,TRUE)

Completion so far (days ticked / days passed):
=COUNTIFS(B2:B366,TRUE,$A$2:$A$366,"<="&TODAY())/MAX(1,MIN(365,TODAY()-DATE(2027,1,1)+1))

Days left in 2027:
=MAX(0,DATE(2027,12,31)-TODAY())

Format the completion cell as a percentage. The MAX and MIN parts stop the formula breaking before 1 January or after 31 December.

Step 4: a monthly summary

In H2 type =DATE(2027,1,1) and in H3 =EDATE(H2,1), fill down to H13 and format as mmm. Then in I2, for the habit in column B:

=COUNTIFS($A$2:$A$366,">="&$H2,$A$2:$A$366,"<="&EOMONTH($H2,0),B$2:B$366,TRUE)

Fill down to I13 and right for the other habits: the mixed references keep the date column and month fixed while the habit column moves. For a monthly percentage divide by the days in the month: =I2/DAY(EOMONTH($H2,0)). EOMONTH returns the last day of the month, so February 2027 correctly has 28 days. More on these patterns in our SUMIFS and COUNTIFS examples.

Step 5: streaks

Add a helper column for each habit. For the habit in B, in F2 and F3:

F2:  =IF(B2,1,0)
F3:  =IF(B3,F2+1,0)      (fill down to F366)

Longest streak:
=MAX(F2:F366)

Current streak (including today):
=IFERROR(INDEX(F2:F366,MATCH(TODAY(),$A$2:$A$366,0)),0)

The helper adds one for every ticked day in a row and resets to zero on a missed day. If you usually tick at night, the current streak shows 0 during the day; use TODAY()-1 in the MATCH to show the streak up to yesterday. You can hide the helper columns once they work.

Step 6: highlight today and ticked days

Select A2:D366 and add two conditional formatting rules with a custom formula:

In Google Sheets use Format > Conditional formatting > Custom formula is. In Excel use Home > Conditional Formatting > New Rule > Use a formula. Our conditional formatting guide has more examples.

Weekly totals and the week 53 trap

1, 2 and 3 January 2027 fall in ISO week 53 of 2026, because ISO weeks start on Monday and week 1 of 2027 begins on Monday 4 January. If you group by ISOWEEKNUM, those three days end up in a “week 53” at the top of your year. A cleaner way is to label each row with the Monday of its week:

=A2-WEEKDAY(A2,3)

WEEKDAY with type 3 returns 0 for Monday, so this gives the Monday on or before each date. Format it as a date, then use COUNTIFS on that column or a pivot table for weekly counts.

Tips that keep the tracker going

Quick FAQ

How do I count checkboxes in Excel or Google Sheets? A ticked checkbox is TRUE, so use =COUNTIF(B2:B366,TRUE). Use FALSE to count empty boxes.

How do I calculate a habit streak in a spreadsheet? Use a helper column: 1 in the first row if ticked, then =IF(B3,F2+1,0) down the column. The maximum of that column is the longest streak.

How many days are in 2027? 365. 2027 is not a leap year; it starts and ends on a Friday.

Does Excel have checkboxes in cells? Excel for Microsoft 365 does (Insert > Checkbox), and each one stores TRUE or FALSE in its cell. Older versions need form controls or a typed x.

Why does my weekly total show week 53 in January 2027? 1-3 January 2027 belong to ISO week 53 of 2026. Group by the week's Monday with =A2-WEEKDAY(A2,3) instead.

More date maths: 2027 calendar formulas and countdown formulas.

Saving money is a habit too: try the 52-week savings challenge for 2027.

Sources: Microsoft Support: Using check boxes in Excel; Google Docs Editors Help: Add and use checkboxes; Microsoft Support: WEEKDAY function.

Prefer a ready-made file?

Related: How to Create a Drop-Down List in Excel and Google Sheets (Step by Step)

Templates we sell: see all downloads and prices.

← More guides