A Habit Tracker Spreadsheet Streak Formula
Counting a habit streak by eye works until you miss a day and the math gets fuzzy. A simple formula counts consecutive days automatically, resets honestly when you miss, and shows your current run at a glance.
TL;DR / Quick Fix
Quick fix: mark each day with a 1 in its column, then use a formula that counts consecutive 1s back from today. When a day is blank the streak resets to zero on its own, and conditional formatting can highlight your current run.
Follow these steps
- Lay out one column per day. Put dates across the top row and the habit in the first column. One column per day keeps the streak math simple and the sheet readable.
- Mark completed days with a 1. Type 1 for a done day and leave misses blank. Numbers beat checkmark symbols here, because formulas count numbers and ignore symbols.
- Count back from today with a formula. In the streak cell, use a formula that counts consecutive 1s working backward from the latest date. The count stops at the first blank, which is exactly what a streak means.
- Let blanks reset the streak honestly. Do not fill a missed day to protect the number. A blank that resets the count keeps the tracker truthful, and truthful trackers get used.
- Highlight the current run. Add conditional formatting that colors the streak cell when it grows. A visual reward for a long run motivates more than the number alone.
- Review weekly, not hourly. Check the tracker once a week alongside your review. Daily obsessing over the count turns the habit into anxiety, while a weekly glance keeps it fun.

What NOT to do
- Do not use checkmark symbols instead of numbers. Symbols look nice and break formulas, while plain 1s count perfectly.
- Do not backfill missed days to save a streak. A protected streak lies to you, and a lying tracker gets abandoned within weeks.
- Do not track twelve habits at once. One or two habits with honest streaks beat a rainbow sheet you stop opening.
- Do not let a broken streak end the habit. Reset the counter, note what broke the run, and start the next streak the same day.
Frequently asked questions
What formula counts a streak?
One that counts consecutive 1s backward from today and stops at the first blank cell. The exact function name varies by spreadsheet app.
Why did my streak reset when I missed a day?
Because that is what a streak means. The blank day ends the run, and the next completed day starts a new one.
Should I track rest days?
Yes, mark planned rest days differently, such as with an R, so they do not break the streak or get counted as misses.