Goal Tracking Spreadsheet: COUNTIFS, SUMIFS, SPARKLINE
A goal tracker needs two sheets: Goals, one row per goal, and Sessions, one row per planned or extra work session. Four documented features do the rest. COUNTIFS counts planned and finished sessions, SUMIFS adds the minutes, SPARKLINE draws a progress bar in Google Sheets, and a formula-based conditional formatting rule flags the rows that need a decision. The reason to keep the record at all is the evidence on progress monitoring: a 2016 meta-analysis of 138 randomised studies found that interventions prompting people to monitor goal progress improved goal attainment (d+ = 0.40), with larger effects when progress was physically recorded.
What the evidence says a tracker should do
Harkin and colleagues (Psychological Bulletin, 2016, 142(2), 198-229) pooled 138 randomised studies with 19,951 participants. According to the abstract on PubMed, interventions that prompted progress monitoring promoted goal attainment (d+ = 0.40, 95% CI 0.32 to 0.48) and raised how often people monitored (d+ = 1.98). Changes in monitoring frequency mediated the effect on attainment. Effects on attainment were larger when the outcomes were reported or made public and when the information was physically recorded. The DOI is 10.1037/bul0000025.
An earlier meta-regression by Michie and colleagues (Health Psychology, 2009, 28(6), 690-701) covered 122 evaluations of healthy-eating and physical-activity interventions (N = 44,747). Self-monitoring explained the most between-study variation (13%), and interventions combining self-monitoring with at least one other control-theory technique were significantly more effective than the other interventions, with effect sizes of 0.42 against 0.26 (abstract on PubMed). Both studies concern intervention settings, not spreadsheets as such, so the practical reading is narrow: a tracker works to the extent that it makes you look at progress often, in written form, and act on it.
That gives four design rules, each used below:
| Finding | Design rule | Where it appears in the sheet |
|---|---|---|
| Monitoring frequency mediated the effect | Review on a fixed schedule, not when you remember | Weekly rate columns and the decision log |
| Physical recording gave larger effects | Every session is a row, written down | The Sessions sheet |
| Self-monitoring plus another control-theory technique beat the other interventions (0.42 vs 0.26) | Compare progress with a target, then decide what to change | Planned vs done rate, and the decision log |
| Reporting outcomes or making them public gave larger effects | Share a read-only view with one person if you want to | A copy of the Goals sheet in its own file |
The two-sheet structure
Goals sheet
| Column | Header | Contents |
|---|---|---|
| A | Goal | A short stable name used verbatim on the Sessions sheet |
| B | Completion evidence | What exists when the goal is finished, for example three published case studies |
| C | Target date | A full date including the year |
| D | Next milestone | One concrete deliverable |
| E | Status | Planned, Active, Waiting, Complete or Paused |
| F | Next action | The next physical step, small enough to start today |
| G | Planned | Formula: planned sessions logged |
| H | Done | Formula: planned sessions finished |
| I | Rate | Formula: H divided by G |
| J | Minutes | Formula: minutes logged on finished sessions |
| K | Bar | Formula: SPARKLINE progress bar |
Define Waiting as a specific external dependency and write who must respond. A Complete row should link to the finished work. For wording the evidence column, the SMART goals guide covers how to state a measurable result.
Sessions sheet
| Column | Header | Rule |
|---|---|---|
| A | Date | Full date |
| B | Goal | Must match column A of Goals exactly |
| C | Plan | Planned or Extra |
| D | Result | Done, Missed, or blank while still in the future |
| E | Minutes | Actual minutes, 0 for Missed |
| F | Note | Evidence of output, or the reason for a miss |
The Plan column keeps the original commitment intact. A session added on the day is Extra, so it counts towards minutes but never inflates the planned-session rate. A blank Result means the outcome is not entered yet; Missed is a deliberate entry.
A worked week
One week of sample data for two goals, Portfolio and Spanish. The entries are invented for illustration.
| Date | Goal | Plan | Result | Minutes | Note |
|---|---|---|---|---|---|
| Mon 2 Nov 2026 | Portfolio | Planned | Done | 60 | Case study 1 outline saved |
| Tue 3 Nov 2026 | Spanish | Planned | Done | 30 | Unit 4 vocabulary |
| Wed 4 Nov 2026 | Portfolio | Planned | Missed | 0 | Screenshots not yet approved |
| Thu 5 Nov 2026 | Spanish | Planned | Done | 30 | Listening exercise |
| Fri 6 Nov 2026 | Portfolio | Planned | Done | 45 | Draft intro written |
| Sat 7 Nov 2026 | Portfolio | Extra | Done | 75 | Layout of case study 1 |
| Sun 8 Nov 2026 | Portfolio | Planned | Done | 60 | Draft complete |
| Sun 8 Nov 2026 | Spanish | Planned | Missed | 0 | Travelled |
Suppose this table sits in Sessions rows 2 to 9, with Portfolio in Goals!A2 and Spanish in Goals!A3. Counting by hand gives the answers the formulas below must reproduce:
| Goal | Planned | Done (of planned) | Rate | Minutes on finished sessions |
|---|---|---|---|---|
| Portfolio | 4 | 3 | 75% | 240 |
| Spanish | 3 | 2 | 67% | 60 |
Portfolio minutes are 60 + 45 + 75 + 60 = 240. That includes the Extra session of 75 minutes; the three finished planned sessions alone total 165 minutes.
The formulas, as the help pages document them
COUNTIFS: planned and finished counts
Google’s help page gives the syntax COUNTIFS(criteria_range1, criterion1, [criteria_range2, criterion2, ...]) and notes that “any additional ranges must contain the same number of rows and columns as criteria_range1” (Google Docs Editors Help: COUNTIFS). Microsoft’s page for Excel adds that a row is counted only when every criterion is met, and allows up to 127 range and criteria pairs (Microsoft Support: COUNTIFS). The same formulas work in both programs:
G2: =COUNTIFS(Sessions!$B$2:$B$500, $A2, Sessions!$C$2:$C$500, "Planned")
H2: =COUNTIFS(Sessions!$B$2:$B$500, $A2, Sessions!$C$2:$C$500, "Planned", Sessions!$D$2:$D$500, "Done")
Every range has the same size (rows 2 to 500), and the criterion $A2 reads the goal name from the Goals row, so you copy the formula down instead of retyping names. Microsoft notes that Excel treats a criterion pointing at an empty cell as 0, so in Excel a Goals row with a blank name matches no session and shows 0. Expected result for the sample: G2 = 4, H2 = 3, G3 = 3, H3 = 2.
These counts include every row on the Sessions sheet, so once a second week is logged they become totals for the cycle so far. To count a single week, add the date column as two more pairs, Sessions!$A$2:$A$500, ">="&$R$1, Sessions!$A$2:$A$500, "<"&($R$1+7), with that week’s Monday in a spare cell such as R1. Both help pages show criteria built by joining an operator to a cell reference with &, and Microsoft’s examples test one range twice to set a lower and an upper bound.
Rate, with no division error
I2: =IF(G2=0,"",H2/G2)
Format column I as a percentage. A goal with nothing planned shows blank. The rate cannot pass 100%, because H counts only rows that G also counts. If a goal you scheduled shows a blank rate, no Sessions row matches both its exact name and Planned; check the spelling on both sheets.
SUMIFS: minutes
Both vendors give the order as SUMIFS(sum_range, criteria_range1, criterion1, ...): the range to add comes first (Google Docs Editors Help: SUMIFS). Microsoft warns that sum_range is first in SUMIFS but third in SUMIF, a common source of errors, and that each criteria range must be the same size as sum_range (Microsoft Support: SUMIFS).
J2: =SUMIFS(Sessions!$E$2:$E$500, Sessions!$B$2:$B$500, $A2, Sessions!$D$2:$D$500, "Done")
This adds minutes only for rows that are both this goal and Done. Expected: J2 = 240, J3 = 60. To total minutes on planned work only, add Sessions!$C$2:$C$500, "Planned" as a third pair; the sample then gives 165 for Portfolio. Keeping both totals separates time spent on planned sessions from all the time the goal received.
SPARKLINE: a progress bar in Google Sheets
Google documents SPARKLINE(data, [options]), with "charttype" values of line, bar, column or winloss, and a bar option "max" that sets the maximum on the horizontal axis. Its sample usage includes SPARKLINE(A2:E2,{"charttype","bar";"max",40}); for bars, "color1" sets the first colour, and colours can be written as names such as “green” (Google Docs Editors Help: SPARKLINE). For a bar showing finished planned sessions against the plan:
K2: =IF(G2=0,"",SPARKLINE(H2,{"charttype","bar";"max",G2;"color1","green"}))
With H2 = 3 and G2 = 4 the bar fills three quarters of the cell. For a trend across weeks, keep one weekly rate per column (L to O) and draw columns, using the documented "ymin" and "ymax" options so the scale runs from 0 to 100%:
P2: =SPARKLINE(L2:O2,{"charttype","column";"ymin",0;"ymax",1})
SPARKLINE is a Google Sheets function, and Excel has no SPARKLINE worksheet function. Excel’s Sparklines are a chart feature instead: select a blank cell at the end of a row of data, choose Insert and a sparkline type (Line, Column or Win/Loss), then select the row’s cells (Microsoft Support: sparklines). A Column sparkline in P2 drawn from L2:O2 gives the weekly trend. For the progress bar, put a data bar on the Rate column (Home > Styles > Conditional Formatting > Data Bars), then edit the rule so its Minimum and Maximum types are Number, with values 0 and 1. Microsoft describes a data bar as showing a cell’s value relative to other cells, and the fixed scale makes its length read as a share of the plan instead (Microsoft Support: conditional formatting).
Conditional formatting: flag rows that need a decision
Google’s instructions: select the range, open Format, then Conditional formatting, choose the custom formula option, enter the formula and pick a style. For a whole row, the page’s example is =$B1="Yes", where the dollar sign keeps the column fixed so the rule applies across the row. Rules run in listed order and the first true rule sets the format, and custom formulas can only reference cells on the same sheet (Google Docs Editors Help: conditional formatting). Excel’s route is Home, Conditional Formatting, Manage Rules, New Rule, “Use a formula to determine which cells to format”; the formula must start with an equal sign and return TRUE or FALSE, and Microsoft suggests AND or OR to combine tests (Microsoft Support: conditional formatting).
Apply these to Goals!A2:K20, in this order:
| Order | Formula | Format | Meaning |
|---|---|---|---|
| 1 | =$E2="Complete" | Grey text | Finished; ignore |
| 2 | =$E2="Waiting" | Amber fill | Chase the dependency |
| 3 | =AND($G2>0,$I2<0.5) | Red fill | Under half of planned sessions finished |
The rules sit on the Goals sheet and test only Goals cells, which stays within the same-sheet limit Google describes. In the sample, neither goal triggers the red rule: Portfolio is at 75% and Spanish at 67%.
Excel resolves overlapping rules differently. When several rules are true, it applies every format that does not conflict and, where two formats clash, the one from the higher rule. A Complete row with a low rate would therefore get grey text on a red fill. Tick Stop If True on rules 1 and 2 in the Rules Manager to get Google’s first-match result (Microsoft Support: conditional formatting).
The weekly decision log
Below the Goals table, or on a third sheet, add one row per review: date, finished work, obstacle, decision, next checkpoint. The sample week produces an entry such as “Portfolio: one miss, screenshots unapproved. Decision: ask for approval by Wednesday, otherwise outline case study 2 first.” This is the second half of the combination in Michie’s finding: monitoring shows the gap, and the decision is what you change because of it. The weekly review guide gives a 30-minute order for doing this, and the quarterly planning guide shows how to set the week’s planned sessions from the quarter’s milestones.
Read the Note column before reacting to a rate. Four finished sessions with an unfinished milestone can mean the estimate or the scope was wrong rather than the effort; the notes show which. Change the next action or the time estimate; do not redefine Done to lift the percentage.
Quality checks and upkeep
- Hand-check once. Count the sample week by hand, compare it with the formulas, then replace the sample rows with real ones.
- Match names exactly. A goal name with a trailing space no longer matches the same name without one, so those sessions drop out of the counts. Use a dropdown (data validation) on Sessions column B if typos recur.
- Bound the ranges. Rows 2 to 500 cover many months of logging for several goals; extend them in one place when you need more.
- Back up at the end of a cycle. Copy the workbook with the project and date in its name before clearing rows. A CSV holds a single table of values, so it drops other sheets, formatting and formulas.
- Share narrowly. Reporting progress to someone is linked to larger effects in the 2016 meta-analysis, but sharing a workbook shares every sheet in it, so share a copy of the Goals sheet in its own file and keep the session notes private.
Start with the two sheets and one week of real entries. After the first review, delete any column that did not change a decision, and add a chart only when it answers a question you ask every week.
Sources
- Harkin et al. 2016, Does monitoring goal progress promote goal attainment? (Psychological Bulletin, DOI)
- PubMed abstract for Harkin et al. 2016
- Michie et al. 2009, Effective techniques in healthy eating and physical activity interventions (Health Psychology, PubMed abstract)
- Google Docs Editors Help: COUNTIFS
- Google Docs Editors Help: SUMIFS
- Google Docs Editors Help: SPARKLINE
- Google Docs Editors Help: conditional formatting
- Microsoft Support: COUNTIFS
- Microsoft Support: SUMIFS
- Microsoft Support: conditional formatting
- Microsoft Support: sparklines in Excel