KajoData / Excel
Build an Excel workout tracker with tables and SUMIFS
I use a small training log to explain data modelling, structured references and conditional totals, then show how to check what each number actually means.
A personal workout tracker makes a useful Excel learning project. You have a reason to add new records, and the result means something to you. Questions appear quickly: what counts as a session, how should two workouts be compared, and why does a record in one table look different on a chart? I start building the workbook with those questions.
I would not promise that recording something automatically improves it. A spreadsheet helps reveal what you have entered and where the entries disagree. A coloured cell cannot decide whether your training plan is good. My focus here is the analyst’s work: a sensible table, explicit definitions and a result you can explain without performing an elaborate ritual with the mouse.
Decide what one row represents
I use one simple rule: a row represents one set of one exercise in one session. Three sets produce three rows. This lets me record a different weight or number of repetitions for each set. I do not have to interpret a cell saying “three times ten, struggled on the last one” before I can calculate anything useful.
That is a data modelling choice. You could use one row for an entire exercise within a session and store the number of sets in another column. The table would be shorter, but some detail would disappear. I choose individual sets because they provide a clear starting point. Mixing the two approaches in one source table would make the totals difficult to interpret.
I also add a Session identifier. A date alone cannot distinguish two workouts on the same day. The Set column gives the set number within an exercise and session. Together, these fields help reveal accidental duplicate entries. Two otherwise identical rows may represent two real sets, but their set numbers should then differ. Identical values do not automatically mean that a row should be deleted.
Start with data you can inspect by eye
The following records are synthetic. The exercise labels are short text values, and the external load is recorded in kilograms. In this example, Squat has one recorded external load and Press means a barbell press. I do not add body weight or translate unrelated exercises into an apparently universal unit. Those choices would need a separate definition before any comparison.
| Date | Session | Exercise | Set | Reps | Kg | Volume |
|---|---|---|---|---|---|---|
| 2026-11-02 | A | Squat | 1 | 5 | 40 | 200 |
| 2026-11-02 | A | Squat | 2 | 5 | 40 | 200 |
| 2026-11-02 | A | Press | 1 | 5 | 20 | 100 |
| 2026-11-05 | B | Squat | 1 | 5 | 45 | 225 |
| 2026-11-05 | B | Squat | 2 | 4 | 45 | 180 |
The last column is repetitions multiplied by external load. The first row gives five times forty, or 200. Squats in session A contribute 200 plus 200, giving 400. Session B contributes 225 plus 180, giving 405. These numbers are deliberately small enough to reason through before extending the workbook. You should understand the expected answer before looking at a formula.
I call the column Volume, with an explicit definition of what that means in this file. It does not measure technique, range of movement, rest periods or perceived effort. Similar totals do not establish that two sessions were equally difficult. A useful metric name keeps the limits of interpretation visible. Otherwise a correct multiplication can support a claim that the underlying records never justified.
Turn the range into an Excel table
I enter the headers, select the data and choose Insert, then Table. Before confirming, I check that the proposed range includes every column and that Excel recognises the header row. I name the table Training. Short technical names make the examples easier to follow. They also reduce the chance of confusing a field name with a description written somewhere else in the workbook.
Tables support references using table and column names rather than cell addresses alone. Microsoft explains structured references, including how they adjust as data is added. In the Volume column I enter this formula. The @ refers to the current row, so I am multiplying that row’s repetitions and kilograms rather than two entire columns.
=[@Reps]*[@Kg]
After confirming the formula, I inspect whether Excel has created a calculated column and populated every set. I add a temporary row at the bottom to understand how the table extends, then remove that record. This is ordinary workbook use, not evidence that every future entry will be correct. A coloured border cannot certify that the latest record belongs to the intended data range.
Use SUMIFS for a selected session
In a separate area, I create a small summary. Cell J2 contains the session identifier A; cell K2 contains Squat. Referring to selector cells makes the calculation easier to reuse than embedding a different text value in every formula. I keep the summary outside the source table because it represents a different level of detail from an individual set.
=SUMIFS(Training[Volume],Training[Session],J2,Training[Exercise],K2)
SUMIFS takes the sum range first, followed by range and criterion pairs. Both conditions must hold for a row to contribute here. The first two rows match session A and exercise Squat, so the answer is 400. The Press row belongs to the same session, but fails the exercise condition and contributes nothing to this particular total.
Changing J2 to B gives 405. In a Polish Excel installation, the function is SUMA.WARUNKÓW, commonly with semicolons separating arguments. The separator follows regional settings. Table names and column headings belong to your workbook, so they do not automatically translate when a function name changes. Keep them consistent instead of switching between different versions halfway through a formula.
Ask precisely what a maximum describes
To find the largest recorded squat load, I use MAXIFS. The question is about the largest value in the Kg column among matching rows. It does not yet ask about the best workout or a sporting personal record. Microsoft’s MAXIFS documentation describes the argument order and requires the value and criteria ranges to have matching dimensions.
=MAXIFS(Training[Kg],Training[Exercise],K2)
=MINIFS(Training[Kg],Training[Exercise],K2)
With Squat selected, the maximum is 45 and the minimum is 40. MINIFS returns the smallest matching value. Both functions are available in Excel 2019 and Microsoft 365, among the versions listed in the documentation. If your workbook must run in an older version, check availability before relying on them. A formula copied from a newer installation may not be a suitable starting point.
There is also a reporting trap when no exercise matches. These functions can return zero even though there is no recorded observation for the chosen label. I put a matching row count alongside the result, using COUNTIFS(Training[Exercise],K2). COUNTIFS counts matching rows. A zero count tells me that I should show no observations, rather than present an invented zero weight workout.
A set record and a session record need different summaries
The maximum value of Volume for Squat is 225. That belongs to one set. The largest session total for Squat is 405. Calling both fields “record” would leave the reader to guess which level they describe. I prefer explicit labels such as “Largest set volume” and “Largest exercise volume within a session”. A slightly longer heading is cheaper than a convincing misunderstanding.
For session comparisons, I create a separate summary table with one row for each session and exercise combination. It contains the known A and B identifiers and their conditional totals. Only then do I take the maximum of those totals. Taking a maximum straight from the source column would answer a different question. This distinction becomes even more important when the same habits move into SQL.
I avoid repeating a session total beside every source row if someone might later sum that column. Two squat rows in session A would each show 400, and adding them would produce a false 800. Repeating a measure from a higher level of aggregation is an efficient way to create a persuasive error. A separate summary keeps the objects being added visible to everyone using the file.
![]()
Treat dates, units and names as part of the calculation
I store the date as an Excel date, and repetitions and kilograms as numbers. The unit belongs in the heading or number format, rather than in every value. Text such as 40 kg may look friendly but makes arithmetic harder. Similarly, Squat and Squats become different criteria values unless I deliberately standardise the exercise labels. A good looking table still needs consistent records.
A forgotten load should not silently become zero. Zero may be a real value under the chosen recording convention; missing information means the entry is unknown. I either complete that row or explicitly exclude it from the comparison. Before drawing a chart, I review incomplete sets. A formula cannot infer why the person entering data left a cell blank, and the report should not pretend otherwise.
I begin with one unit and one load convention. If I later include dumbbells, I specify whether the value means one dumbbell or both together. I do not change that convention halfway through the history without marking the boundary. An extra field describing the measurement method may then be more useful than another impressive calculation. Comparable values need comparable meaning, not merely identical formatting.
Make the chart answer a small question
My first chart would show one exercise and one metric. Sessions go on the horizontal axis and their volume totals on the vertical axis. Beside it, I show the number of recorded sets. A larger total can then be considered alongside whether more rows were entered. A single rising line without that context can tell a much more ambitious story than the data supports.
In our example, A has 400 and B has 405. The difference is five units under the chosen definition. I would not automatically call this proof of improved fitness. I would check completeness and how the conditions of comparison were recorded. That distinction applies well beyond sport: an observation is visible, while an explanation needs additional information. A workbook should not quietly promote itself to coach.
If you want another practical workbook project, read my guide to choosing Excel automation. Before adding a dashboard, write down the question, the unit and the counting rule. Personal data can make a useful portfolio project, but its main value comes from your reasoning. The fact that a workbook happens to involve exercise does not guarantee a better interview outcome.
Prepare a deliberate portfolio copy
For a public example, I replace real records with synthetic data and remove personal notes. The first sheet describes what a row means, what the columns contain and how summaries are built. I also state the limits: no judgement about exercise quality, no medical conclusions and possible incomplete recording. A reader should understand the project without reconstructing my training routine from scattered clues.
If I move the project into Tableau, I distinguish local work from publishing to Tableau Public. Published workbooks and data are intended for public sharing. I would not upload a private training history just because the application is free. A small, documented synthetic dataset can demonstrate the same analytical skill without exposing anybody’s personal information.
The project description should explain one decision, one error and its correction. For example, an earlier version summed repeated session totals, while the revised version aggregates individual sets. That gives an interviewer something useful to discuss. It says more than “advanced Excel skills” because it exposes how you reason about the result. The method of checking becomes part of the project rather than an invisible afterthought.
Check the period before comparing months
Before comparing monthly totals, I ask whether both months have complete records. Five logged sessions in November and two in October may describe a change in recording habits rather than a change in training. I label the chart as recorded workouts and keep that limit visible. Each session also needs one consistent date. If identifier A appears on different days, I resolve the record before adding more calculations.
I separate the number of sessions from the number of sets. Counting source rows counts sets under our chosen definition. To count sessions, I use a table in which each session appears once. Monthly volume, session count and set count answer different questions. Keeping them separate is a useful exercise in aggregation even before learning another Excel function.
Explain discrepancies by returning to the rows
A summary card might show 500 for session A while the squat chart shows 400. Both can be correct: the card includes Press as well as Squat, while the chart includes only Squat. I check the filters and labels before assuming that Excel has failed. Session, exercise and unit should be clear wherever a result appears.
For 400, I can point to two sets contributing 200 each. For 500, I add the Press row contributing another 100. That explanation is more useful to many readers than a screenshot of a long formula. If I cannot reconstruct the contributing rows, I investigate rather than overwrite the displayed answer. I correct the source record or calculation definition, then read the result again. Manual changes to a summary can otherwise survive into the next month and become unexplained exceptions.
Your next exercise
Build the table from the five synthetic rows above. First, explain in your own words why Squat in session A totals 400. Then add session C with one set of five repetitions at 40 kilograms. Its expected total is 200, while the largest recorded load across the history remains 45. This change has a clear, limited consequence that you can reason through without guessing.
Finally, select an exercise absent from the source table. Decide how to display the lack of observations without suggesting that a zero weight workout occurred. Read the summary headings without opening the formulas. If you understand every number and can identify the contributing rows, you have a useful first tracker. I would only add more features after that explanation feels straightforward.
Key takeaways
What arguments does SUMIFS need?
It needs a sum range and at least one pair consisting of a criteria range and a criterion. Further criteria pairs restrict which rows contribute to the total.
Does weight multiplied by repetitions measure intensity?
Here I use it as a defined measure of external load volume. It does not describe technique, effort, tempo or the quality of a workout.
Can I publish the tracker on Tableau Public?
Yes, when the workbook and data are intended for public sharing. For a portfolio, I would use a separate synthetic dataset without private notes.
AI was used in an automated way while working on this article. If you want to learn how to do it too, check out this project.
