---
title: "Discussion on \"How I made a habit tracker that doesn't lie in February\" | Hashnode"
description: "Discussion on \"How I made a habit tracker that doesn't lie in February\". Most habit grids I tried got one thing wrong: they divide by 30 forever, or they let you tick days that don't exist (Feb 30, Apr 31). Your completion rate quietly drifts.\nHere's the approach I settled"
url: "https://hashnode.com/posts/how-i-made-a-habit-tracker-that-doesn-t-lie-in-february/6ad1b9ac1a7d597e1ab96997"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How I made a habit tracker that doesn't lie in February](https://kendeepp.hashnode.dev/how-i-made-a-habit-tracker-that-doesn-t-lie-in-february?utm_source=hashnode&utm_medium=feed)

Most habit grids I tried got one thing wrong: they divide by 30 forever, or they let you tick days that don't exist (Feb 30, Apr 31). Your completion rate quietly drifts. Here's the approach I settled

Oct 16 · 1 min read · kendeepp.hashnode.dev  
Updated Oct 18  
Read the article

-   [#spreadsheets](https://hashnode.com/tag/spreadsheets)
-   [#google-sheets](https://hashnode.com/tag/google-sheets)
-   [#productivity](https://hashnode.com/tag/productivity)
-   [#libreoffice](https://hashnode.com/tag/libreoffice)

## Written by

[Kendeepp](https://hashnode.com/@kendeepp)

@kendeepp

  
[View profile](https://hashnode.com/@kendeepp)

## Responses 4

Markdown supported · ⌘↵ to post

[Yunus Emre Vurgun](https://hashnode.com/@yunusemrevurgun)

[Oct 17](https://hashnode.com/posts/how-i-made-a-habit-tracker-that-doesn-t-lie-in-february/6ad1b9ac1a7d597e1ab96997/comment/6ad3afc5b7520de4c43aac44)

Locking the nonexistent days is the clever part, since it makes the >100% bug impossible instead of just hiding it. One thing to watch in the current month: dividing by DAY(EOMONTH()) makes your rate look low until the month ends, so a second column with COUNTIF(row,TRUE)/MIN(DAY(TODAY()),DAY(EOMONTH(B1,0))) gives a fair "so far" number. For Excel, EOMONTH behaves the same, but checkbox cells may come back as TRUE/FALSE or 1/0 depending on how they're inserted, so COUNTIF on TRUE is worth retesting there.

[Kendeepp](https://hashnode.com/@kendeepp)

[Oct 17](https://hashnode.com/posts/how-i-made-a-habit-tracker-that-doesn-t-lie-in-february/6ad1b9ac1a7d597e1ab96997/comment/6ad3afc5b7520de4c43aac44#reply-6ad3b77c0b6697f42005ba87)

Thanks Yunus — locking nonexistent days is exactly how I wanted to kill the >100% case instead of papering over it. You're right that a full-month DAY(EOMONTH()) denominator understates the current month until it ends; a separate "so far" column with MIN(DAY(TODAY()), DAY(EOMONTH(...))) is a clean fix, and I'll call that out. Good catch on Excel checkboxes too — TRUE/FALSE vs 1/0 depends on how the cells were inserted, so COUNTIF on TRUE needs a retest there.

[Kendeepp](https://hashnode.com/@kendeepp)

[Oct 17](https://hashnode.com/posts/how-i-made-a-habit-tracker-that-doesn-t-lie-in-february/6ad1b9ac1a7d597e1ab96997/comment/6ad3afc5b7520de4c43aac44#reply-6ad3c5c3ea2a6916603a381a)

Quick follow-up: v1.8 now has a separate "So far" column that divides by MIN(DAY(TODAY()), days in the month), and the counts accept both TRUE and 1. I checked it in LibreOffice; Excel is still untested on my side. Thanks again for the nudge.

[Yunus Emre Vurgun](https://hashnode.com/@yunusemrevurgun)

[Oct 18](https://hashnode.com/posts/how-i-made-a-habit-tracker-that-doesn-t-lie-in-february/6ad1b9ac1a7d597e1ab96997/comment/6ad3afc5b7520de4c43aac44#reply-6ad4588114ee79bfe979a51e)

Nice, accepting both TRUE and 1 makes it work in more places. If you test it in Excel, try a sheet with a day after today already ticked: MIN(DAY(TODAY()),...) caps the denominator but not the count, so a pre-ticked future day can still push "so far" above 100%. Using COUNTIFS limited to dates on or before TODAY() fixes that.
