create account

Tracking Habits In Google Sheets by strava2hive

View this thread on: hive.blogpeakd.comecency.com
· @strava2hive ·
$3.85
Tracking Habits In Google Sheets
<h2>Post number 2 of “The Practical Google Sheets Guide”</h2>

**These blog posts are part of research I’m doing for a potential new book, hopefully allowing me to further my love for spreadsheets. Theses posts are hoping to provide a practical cookbook of examples to the reader and allow me to learn what people are interested in and how to approach different subjects working with Google Sheets.**

**TLDR: This post walks you through the steps to create a basic habit tracker. The Google Sheet can be copied directly from the link:** 
https://docs.google.com/spreadsheets/d/1lRwOKNlrbFqx8g8vx8OUccAXkQC__ugaUAoUfpZXUUo/copy

### Creating Habits Through Habit Trackers

Habit trackers are a great way to build a habit and track your progress over time. Building a basic habit tracker in Google Sheets is easy and almost made for spreadsheets.  In the following post we will go through a simple habit tracker to track and monitor a potential new goal. I am trying my best to get a certain number of exercises a day, to help me take a break from my work, but you could potentially apply this template for anything.

**What You Need To Know To Get This Done?**
For todays post, to create our simple habit tracker in not too much time, with some handy features you can bring to a lot of other work you might be doing. In this piece of work, you will need to be able to:
- Add checkboxes to your work and recording the results from these checkboxes
- Use the SPARKLINE to create visualisations to show your progress at a glance
- Use COUNTIF to provide data on the number of checkboxes that have been ticked each week
- Use the SUM function to then generate a basic chart to display a count of your monthly habit totals.

All the functions mentioned can be found at the following reference page, in case you need to double check how the function works: https://hive.blog/hive-163521/@strava2hive/my-google-sheets-function-reference

### Setting Up Our Habit Tracker
The following steps will walk you through how to create the habit tracker on your own Google Sheet, but of course we always have a template for you to use, if you need it quicker.
1.Start by setting up the basic format of the habit tracker. In my example, I have set up a 5 week habit tracker, where I have created a checkbox for each day of the week. 
- Set up the main heading in the A1 cell and format it to bold and a larger font size
- Have your weeks running from cell A3 to A7, in the example below, I have 5 weeks listed. Across the top in row 2, I have the number of days running from 1 to 7.
- Add the checkboxes, by highlighting the area range from B3 to H7 and select “Tick Box” from the Insert menu.
![Screenshot 2025-03-18 at 11.24.15 am.png](https://images.hive.blog/DQmNfoUoPeqeE2vmKyKr6AJ3G2JqxWWnxXAEXASQ3kyKmZc/Screenshot%202025-03-18%20at%2011.24.15%E2%80%AFam.png)

2.We can now set up a count for each week and a progress bar to allow us to see a visual progress for each week.
- We add our COUNTIF function in cell I3 as a count of the checkboxes from B3 to H3, and only if the value of the checkbox is “TRUE”:
    **`=COUNTIF(B3:H3,TRUE)`**
- Copy this formula to the rest of the cells in column I
- Add a sparkline with the formula to display the data visually in I3. This formula will be in cell J3 as a bar charttype in the form of: 
    **`=SPARKLINE(I3,{"charttype","bar";"max",7;"color1","green"})`**
- Copy the SPARKLINE formula to the rest of the cells in column J. In the image below, I have set the “color1” option to a different value for each week

![Screenshot 2025-03-18 at 11.41.14 am.png](https://images.hive.blog/DQmQjp6YnCvW4icGebQn96kEmags5AYPfi8NH6MtNBt89gM/Screenshot%202025-03-18%20at%2011.41.14%E2%80%AFam.png)

3.We can now create some extra visualisations at the bottom of the habit tracker. In the final image, we have a single value chart showing the total of the entire habit tracker, as well as a column chart showing the totals for each week.
- The value for the single value chart will be copied over, and in my example I have added it to the A10 cell. This will be a simply SUM of the values in column I as:
**`=SUM(I3:I7)`**
- We can now add the chart to the sheet by selecting the A10 cell and select Chart from the Insert menu. Select a “Scorecard Chart” from the types menu, and name the chart as “Monthly Total”
- For the column chart, we could do something similar to the previous step, but instead we will us another SPARKLINE. We can start by merging the cells by select cells C9 to I14 and selecting “Merge Cells” from the Format menu. Then select “Merge All”
- Then add a SPARKLINE to the merged cell, using the values in column I as
    **`=SPARKLINE(I3:I, {"charttype","column"; "color", "blue";"max", 7})`**

![Screenshot 2025-03-18 at 1.00.56 pm.png](https://images.hive.blog/DQmYYAnJ8xiUJopVosy6wZtfhLwa8X7TDAnnYUsrfts5cbR/Screenshot%202025-03-18%20at%201.00.56%E2%80%AFpm.png)

This was a great and quick little tutorial. We started with a blank canvas and set up a basic format for the habit tracker, in an easy to use and follow format. We added in checkboxes for the user to track their habits daily. We added in formulas to help visualise progress, including the use of Sparklines, with a totals chart to see overall success.

### About The Author
[The post is written by Vincent Sesto, a Aussie Software Engineer, living and working in Auckland, New Zealand.](https://www.linkedin.com/in/vincesesto/) If you are interested in my authors page on Amazon, feel free to checked it out at the following link: **https://us.amazon.com/stores/author/B073R3VW2G**
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 136 others
properties (23)
authorstrava2hive
permlinktracking-habits-in-google-sheets
categoryhive-163521
json_metadata{"tags":["hive-163521","exhaust","googlesheets","tech","stem","technology","ocd","stemgeeks"],"image":["https://images.hive.blog/DQmNfoUoPeqeE2vmKyKr6AJ3G2JqxWWnxXAEXASQ3kyKmZc/Screenshot%202025-03-18%20at%2011.24.15%E2%80%AFam.png","https://images.hive.blog/DQmQjp6YnCvW4icGebQn96kEmags5AYPfi8NH6MtNBt89gM/Screenshot%202025-03-18%20at%2011.41.14%E2%80%AFam.png","https://images.hive.blog/DQmYYAnJ8xiUJopVosy6wZtfhLwa8X7TDAnnYUsrfts5cbR/Screenshot%202025-03-18%20at%201.00.56%E2%80%AFpm.png"],"links":["https://docs.google.com/spreadsheets/d/1lRwOKNlrbFqx8g8vx8OUccAXkQC__ugaUAoUfpZXUUo/copy"],"app":"hiveblog/0.1","format":"markdown"}
created2025-03-19 05:39:51
last_update2025-03-19 05:39:51
depth0
children7
last_payout2025-03-26 05:39:51
cashout_time1969-12-31 23:59:59
total_payout_value1.916 HBD
curator_payout_value1.931 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length5,595
author_reputation29,883,817,078,651
root_title"Tracking Habits In Google Sheets"
beneficiaries
0.
accounthiveonboard
weight100
1.
accountocdb
weight100
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id141,528,064
net_rshares11,962,663,319,098
author_curate_reward""
vote details (200)
@nicklewis ·
I never knew you had published a series of books on docker virtualisation, we use Ansible at work… I’ll try out the spreadsheet template, could be handy for a couple of things, including posting regularly on hive. 
👍  
properties (23)
authornicklewis
permlinkre-strava2hive-2025319t75815510z
categoryhive-163521
json_metadata{"type":"comment","tags":["hive-163521","exhaust","googlesheets","tech","stem","technology","ocd","stemgeeks"],"app":"ecency/3.2.1-mobile","format":"markdown+html"}
created2025-03-19 07:58:15
last_update2025-03-19 07:58:15
depth1
children5
last_payout2025-03-26 07:58:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length214
author_reputation92,698,530,806,672
root_title"Tracking Habits In Google Sheets"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id141,529,349
net_rshares43,979,662,472
author_curate_reward""
vote details (1)
@run.vince.run ·
Hey @nicklewis yeah have a couple of books under my name but kinda unsure if I'll publish again with everything that is happening around AI...guess we'll see. Thanks for your nice comments and let me know if you have any questions
👍  
properties (23)
authorrun.vince.run
permlinkstd374
categoryhive-163521
json_metadata{"users":["nicklewis"],"app":"hiveblog/0.1"}
created2025-03-19 08:21:06
last_update2025-03-19 08:21:06
depth2
children4
last_payout2025-03-26 08:21:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length230
author_reputation197,258,646,759,293
root_title"Tracking Habits In Google Sheets"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id141,529,608
net_rshares3,581,699,958
author_curate_reward""
vote details (1)
@nicklewis ·
I shall do indeed. Do you feel that AI negates the need for books or are you concentrating more on it as a topic/tool in your own day-to-day career? I am intrigued, as being a software engineer also, it has caused a bit of a stir, a lot of thought in terms of "How will this effect my career going forward" - Sorry going well off topic here and something I might write about in a post.
👍  
properties (23)
authornicklewis
permlinkre-runvincerun-std5dd
categoryhive-163521
json_metadata{"tags":["hive-163521"],"app":"peakd/2025.3.4","image":[],"users":[]}
created2025-03-19 09:08:00
last_update2025-03-19 09:08:00
depth3
children3
last_payout2025-03-26 09:08:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length385
author_reputation92,698,530,806,672
root_title"Tracking Habits In Google Sheets"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id141,530,277
net_rshares41,314,637,199
author_curate_reward""
vote details (1)
@stemsocial ·
re-strava2hive-tracking-habits-in-google-sheets-20250320t040026934z
<div class='text-justify'> <div class='pull-left'>
 <img src='https://stem.openhive.network/images/stemsocialsupport7.png'> </div>

Thanks for your contribution to the <a href='/trending/hive-196387'>STEMsocial community</a>. Feel free to join us on <a href='https://discord.gg/9c7pKVD'>discord</a> to get to know the rest of us!

Please consider delegating to the @stemsocial account (85% of the curation rewards are returned).

You may also include @stemsocial as a beneficiary of the rewards of this post to get a stronger support.&nbsp;<br />&nbsp;<br />
</div>
properties (22)
authorstemsocial
permlinkre-strava2hive-tracking-habits-in-google-sheets-20250320t040026934z
categoryhive-163521
json_metadata{"app":"STEMsocial"}
created2025-03-20 04:00:27
last_update2025-03-20 04:00:27
depth1
children0
last_payout2025-03-27 04:00:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length565
author_reputation22,903,677,158,169
root_title"Tracking Habits In Google Sheets"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id141,548,848
net_rshares0