ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • About
  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Projects
  3. Build a Habit Tracker in Excel With Checkmarks and Streaks

Build a Habit Tracker in Excel With Checkmarks and Streaks

By ExcelReady Team·Updated November 2, 2026·6 min read

The short answer

To build a habit tracker in Excel, put dates down column A and one habit per column, then add checkboxes with Insert > Checkbox (Microsoft 365) or type an x. Count completed days with =COUNTIF(B2:B8,TRUE), divide by the number of days for a completion rate, and use a helper column like =IF(B3,F2+1,0) to track streaks.

Key takeaways

  • Use one row per day and one column per habit; it keeps every formula short.
  • Checkboxes store TRUE or FALSE, so =COUNTIF(B2:B8,TRUE) counts the days you did a habit.
  • Completion rate is days done divided by days so far: =COUNTIF(B2:B8,TRUE)/COUNTA($A$2:$A$8).
  • A helper column with =IF(B3,F2+1,0) adds 1 each day in a row and resets to 0 on a missed day; MAX gives the longest streak.
  • Conditional formatting colors ticked cells and perfect days automatically.
On this page+
  1. How the habit tracker is laid out
  2. Step 1: Add checkboxes or checkmarks
  3. Step 2: Count completed days with COUNTIF
  4. Step 3: Show a completion rate
  5. Step 4: Track your streak with a helper column
  6. Step 5: Color completed habits with conditional formatting
  7. Step 6: Count perfect days and extend to a month
  8. Practise it

A habit tracker in Excel is a simple grid: one row per day, one column per habit, and a checkmark each time you do it. A few formulas turn it into something more useful, with totals, a completion rate and your current streak. This guide builds one step by step, and the same COUNTIF and conditional formatting skills come up in real work trackers and Excel tests.

How the habit tracker is laid out#

Put each day on its own row and each habit in its own column. This shape keeps every formula short, because each habit is one column you can count down. Here is the first week:

ABCDE
1DayExerciseReadWaterDone today
2Mon☑☑☑3
3Tue☐☑☑2
4Wed☑☑☐2
5Thu☑☐☑2
6Fri☑☑☑3
7Sat☐☑☑2
8Sun☑☑☑3

For a real tracker, use dates instead of day names. Type the first date in A2, such as =DATE(2026,11,2), then in A3 type =A2+1 and fill down (Windows: Ctrl+D; Mac: ⌘D). Format the column with the custom format ddd d mmm to show "Mon 2 Nov". If you've built the attendance tracker, this is the same idea turned on its side.

Step 1: Add checkboxes or checkmarks#

In Excel for Microsoft 365 and Excel for the web, select B2:D8 and choose Insert > Checkbox. Each cell gets a checkbox that stores TRUE when ticked and FALSE when not. Press the Spacebar to tick the selected box, which is quick when you fill in a whole day from the keyboard.

In older versions, you can use Developer > Insert > Check Box (Form Control), but each box has to be linked to a cell by hand. It's simpler to type an x for done and leave the cell empty otherwise. The guide to checkboxes in Excel covers both methods. Every formula below works with either; just swap TRUE for "x".

Step 2: Count completed days with COUNTIF#

COUNTIF counts the cells that match a condition, so it counts the ticked boxes in a column:

Excel formula
=COUNTIF(B2:B8,TRUE)

For the Exercise column this returns 5. Type TRUE without quotes, because a checkbox holds the logical value TRUE, not the word. If you use an x, write =COUNTIF(B2:B8,"x").

To count how many habits you did each day, count across the row instead. In E2:

Excel formula
=COUNTIF(B2:D2,TRUE)

Fill it down to get 3, 2, 2, 2, 3, 2, 3. The COUNTIF function guide and the full COUNTIF article cover the criteria in more depth, and how to count yes and no answers shows the same trick for Yes/No columns.

Step 3: Show a completion rate#

A completion rate is the share of days you did a habit. Divide the days done by the number of days in the tracker:

Excel formula
=COUNTIF(B2:B8,TRUE)/COUNTA($A$2:$A$8)

For Exercise that is 5/7, or 71% once you format the cell as a percentage (Windows: Ctrl+Shift+%; Mac: Control+Shift+%). The $ signs keep the day count fixed when you copy the formula across to Read and Water, which both show 86% (6 of 7).

For a month-long tracker, count only the days so far, so future days don't drag the rate down: =COUNTIF(B2:B32,TRUE)/COUNTIF($A$2:$A$32,"<="&TODAY()).

Step 4: Track your streak with a helper column#

A streak is the number of days in a row you did a habit. The easy way is a helper column that keeps a running count. For Exercise, in F2:

Excel formula
=IF(B2,1,0)

Then in F3, and filled down to F8:

Excel formula
=IF(B3,F2+1,0)

Each row asks one question: was the box ticked today? If yes, add 1 to yesterday's count. If no, reset to 0. For the Exercise column, the helper shows 1, 0, 1, 2, 3, 0, 1. Then:

  • Longest streak: =MAX(F2:F8) returns 3 (Wednesday to Friday).
  • Current streak: the last value, 1.

Because B3 already holds TRUE or FALSE, IF can use it directly as the test. With x marks, write =IF(B3="x",F2+1,0). The TRUE, FALSE and comparisons lesson explains why a TRUE/FALSE cell works as an IF test on its own.

In Excel 2021 or Microsoft 365, you can get the current streak without a helper: =ROWS(B2:B8)-IFERROR(XMATCH(FALSE,B2:B8,0,-1),0). XMATCH with -1 searches from the bottom up for the last missed day, and everything after it is the streak. Use it on the days so far only, because an unticked future day counts as a miss.

Step 5: Color completed habits with conditional formatting#

Conditional formatting makes the tracker easy to read at a glance. To color every ticked cell green:

  1. Select B2:D8.
  2. Choose Home > Conditional Formatting > New Rule.
  3. Pick Use a formula to determine which cells to format and type =B2=TRUE.
  4. Click Format, choose a light green fill, and click OK twice.

To highlight the whole row on a perfect day, select A2:E8 and use =$E2=3. The $ before E keeps every cell in the row looking at the Done today column. The conditional formatting guide has more rule ideas, such as data bars on the completion rates.

Step 6: Count perfect days and extend to a month#

To count the days you did every habit, use COUNTIFS with one condition per column:

Excel formula
=COUNTIFS(B2:B8,TRUE,C2:C8,TRUE,D2:D8,TRUE)

This returns 3: Monday, Friday and Sunday. To extend the tracker to a month, fill the dates down to row 32 and change the ranges from row 8 to row 32. Better still, convert the grid to a table with Ctrl+T (Mac: ⌘T). Tables grow when you add a row, so formulas that point at the table's columns pick up new days by themselves.

Practise it#

Every part of this tracker uses skills employers test: counting with conditions, TRUE/FALSE logic and formula-based formatting. Practise COUNTIF in a live spreadsheet, then practise TRUE, FALSE and comparisons and practise conditional formatting with formula rules and the $ sign. Each lesson checks your work instantly. Or start right here with the exercise below.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

Each ticked box stores TRUE. In G2, count how many days this week you exercised: use COUNTIF on B2:B8 with TRUE as the criteria, then press Enter.

fx
ABCDEFGH
1
Day
Exercise
Read
Water
2
Mon
TRUE
TRUE
TRUE
Exercise days
3
Tue
FALSE
TRUE
TRUE
4
Wed
TRUE
TRUE
FALSE
5
Thu
TRUE
FALSE
TRUE
6
Fri
TRUE
TRUE
TRUE
7
Sat
FALSE
TRUE
TRUE
8
Sun
TRUE
TRUE
TRUE
9
10
11

Tip: Type TRUE without quotes, because a checkbox stores the value TRUE, not the word.

Practise this in a lesson

LessonCOUNTIFCount the cells that match a condition, from exact words to number checks like ">=8".LessonConditional formattingMake important numbers stand out: highlight values over a limit, duplicate IDs and the top 3, then color whole rows with a formula rule and a $ on the column.LessonTRUE, FALSE and comparisonsAsk Excel yes-or-no questions with =, <>, >, <, >= and <=, and get TRUE or FALSE back. The building block of every IF.Function guideCOUNTIFCount cells that match one condition with COUNTIF: text, numbers, wildcards and cell references. Real examples and a live exercise.

Frequently asked questions

How do I make a habit tracker in Excel?

+

List dates in column A and habits across row 1, add a checkbox or an x in each cell when you complete a habit, then count each column with COUNTIF. Add conditional formatting to color the completed cells.

How do I add checkboxes to a habit tracker in Excel?

+

In Excel for Microsoft 365 or Excel for the web, select the grid and choose Insert > Checkbox. In older versions, use Developer > Insert > Check Box (Form Control) and link each box to a cell, or simply type an x.

How do I count checkmarks in Excel?

+

For checkboxes, use =COUNTIF(B2:B8,TRUE), because a ticked box stores TRUE. If you type an x instead, use =COUNTIF(B2:B8,"x").

How do I calculate a streak in Excel?

+

Add a helper column. In the first row use =IF(B2,1,0), and in the next row =IF(B3,F2+1,0), then fill down. Each day adds 1 to yesterday's count or resets to 0, and =MAX(F2:F8) gives the longest streak.

Can I build a habit tracker in Excel without checkboxes?

+

Yes. Type x for done and leave the cell blank otherwise, then count with =COUNTIF(B2:B8,"x") and test with B2="x" in your streak and formatting formulas. A drop-down list keeps the entries consistent.

Sources

  • COUNTIF function - Microsoft Support
  • Use conditional formatting to highlight information - Microsoft Support
  • Fill data automatically in worksheet cells - Microsoft Support

Written and checked by the ExcelReady Team. First published November 2, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. How the habit tracker is laid out
  2. Step 1: Add checkboxes or checkmarks
  3. Step 2: Count completed days with COUNTIF
  4. Step 3: Show a completion rate
  5. Step 4: Track your streak with a helper column
  6. Step 5: Color completed habits with conditional formatting
  7. Step 6: Count perfect days and extend to a month
  8. Practise it

Keep reading

Productivity· 6 min read

How to Add Checkboxes in Excel and Count Them

To add a checkbox in Excel for Microsoft 365, select the cells and choose Insert > Checkbox. Each box stores TRUE when ticked and FALSE when not. Count the ticked ones with =COUNTIF(C2:C7,TRUE). In older versions, use Developer > Insert > Check Box and link each box to a cell, then count the linked cells the same way.

Projects· 5 min read

Make an Attendance Tracker in Excel

To make an attendance tracker in Excel, put names in column A and dates across row 1, then type a code in each cell: P for present, A for absent, L for late. COUNTIF counts each code per person, and dividing by the days recorded gives an attendance rate. Conditional formatting colors absences and low rates automatically.

Conditional math· 6 min read

How to Use COUNTIF in Excel (With Criteria Examples)

COUNTIF counts the cells in a range that meet one condition. Write =COUNTIF(range, criteria), for example =COUNTIF(D2:D9,"Open") to count open tickets. Put text and comparisons in double quotes, like ">=8" or "<>Low". Numbers and cell references go in without quotes. For two or more conditions, use COUNTIFS.

More on projects

  • Make an Inventory Tracker in Excel
  • Create an Invoice in Excel With Formulas
  • Build a Job Application Tracker in Excel
  • Build a Simple KPI Summary Sheet in Excel
  • Build an Employee Leave Tracker in Excel
  • Build a Loan Amortization Schedule in Excel
All projects articles →

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free