Try the sheet here, on the example
The sheet is open below with sample numbers. Change any white cell and watch the results update, or press the blank-copy button to type your own data from scratch. Nothing you type leaves your browser.
Example from the sheet
| Nutrient | Eaten | Target | Left | % of target | |||
|---|---|---|---|---|---|---|---|
| Calories (kcal) | 2,855 | 2,800 | -55 | 102% | |||
| Protein (g) | 208 | 160 | -48 | 130% | |||
| Carbs (g) | 308 | 378 | 70 | 81% | |||
| Fat (g) | 90 | 72 | -18 | 125% | |||
| Date | Calories | Protein | Carbs | Fat | Target kcal | Calories vs target | Status |
| 46335 | 2,855 | 208 | 308 | 90 | 2,800 | 2% | On target |
| 46336 | 2,855 | 208 | 308 | 90 | 2,800 | 2% | On target |
| 46337 | 2,615 | 185 | 296 | 77 | 2,800 | -7% | On target |
| 46338 | 2,855 | 208 | 308 | 90 | 2,800 | 2% | On target |
| 46339 | 2,332 | 168 | 256 | 72 | 2,800 | -17% | Under calories |
| 46340 | 0 | 0 | 0 | 0 | 2,800 | No log | |
| 46341 | 2,615 | 185 | 296 | 77 | 2,800 | -7% | On target |
| 46342 | 2,976 | 212 | 332 | 91 | 2,800 | 6% | On target |
| 46343 | 2,855 | 208 | 308 | 90 | 2,800 | 2% | On target |
| 46344 | 2,615 | 185 | 296 | 77 | 2,800 | -7% | On target |
| 46345 | 2,855 | 208 | 308 | 90 | 2,800 | 2% | On target |
| 46346 | 3,498 | 252 | 384 | 109 | 2,800 | 25% | Over calories |
| 46347 | 2,643 | 195 | 288 | 77 | 2,800 | -6% | On target |
| 46348 | 2,855 | 208 | 308 | 90 | 2,800 | 2% | On target |
| Average of logged days | 2,802 | 202 | 307 | 86 | 11 of 14 days on target |
Example from the “Dashboard” tab, with the numbers and formulas that are in the file.
What is inside
- Dashboard: The day you pick against target (calories, protein, carbs, fat: eaten, target, left, % of target), the share of calories from each macro, each meal, and a 14-day table with a status (On target, Over calories, Under calories, Low protein, No log) and averages. Four charts.
- Food Log: One row per food eaten: date, meal, food (dropdown) and servings. It adds calories, protein, carbs and fat and a Check column. Room for 2,000 rows.
- Foods: Your food list (up to 150): serving, calories, protein, carbs and fat for one serving. A Check column warns when the calories do not match the macros.
- Settings: Name, body weight, calorie target, protein and fat per kg, calorie tolerance, the three calculated macro targets, the day shown and your meal names.
The file opens on a start tab (“Start here”) that explains how to use it.
What makes it different
Targets come from body weight, not from a fixed number, and you log from your own food list so a label is typed once. The sample is one athlete at 80 kg and 2,800 kcal with 14 days of logs, including a missed day and an overshoot.
How do I set macro targets in a spreadsheet?
Type your body weight, your calorie target and the grams of protein and fat per kg you want. In the sample, 80 kg at 2.0 g protein per kg gives 160 g protein, 0.9 g fat per kg gives 72 g fat, and the 2,800 kcal target leaves 378 g of carbs: (2,800 - 4 x 160 - 9 x 72) / 4. Protein and carbs count 4 kcal per gram and fat 9.
These are inputs for you to choose. The sheet does the arithmetic; it does not tell you what your targets should be, so take dietary advice from a qualified person.
How do I track what I eat day by day?
Add every food to the Foods sheet once, with the values for one serving from the label. Then on the Food Log pick the food and type the number of servings (1.5 is fine). Pick the day on Settings and the Dashboard shows what you have eaten, what is left, and how each meal contributed. The 14-day table marks each day On target when calories are within the tolerance and protein is at least 90% of target.
Can I see calories from protein, carbs and fat?
Yes. The Dashboard converts the day's grams to calories (protein x 4, carbs x 4, fat x 9) and shows each share, with a doughnut chart. In the sample, the last day is 2,854 kcal with 208 g protein, 308 g carbs and 90 g fat.
How to use it
- On Settings type your name, body weight in kg, daily calorie target, and grams of protein and fat per kg. The sheet sets the protein and fat targets, and gives carbs whatever calories are left.
- On Foods list the foods you eat, with the serving size and the calories, protein, carbs and fat of one serving (copy them from the label). A Check column warns when calories and macros do not match.
- On Food Log add one row per food eaten: date, meal, food (dropdown) and number of servings (1.5 is fine). Calories and macros are filled in for you.
- Pick the day to look at on Settings. Dashboard shows that day against target with what is left, the calorie split between protein, carbs and fat, and each meal.
- The 14-day table shows calories and macros for each day ending on the day shown, with a status: on target, over, under, low protein, or no log.
- Change the day on Settings to move the 14-day window, and change the targets whenever your training or goals change.
Before you start:
- Capacity: 2,000 food log rows, 150 foods and 8 meal names.
- Protein target = body weight x protein per kg. Fat target = body weight x fat per kg. Carb target = (calorie target - 4 x protein - 9 x fat) / 4.
- Calories from macros use 4 kcal per gram of protein and carbs and 9 per gram of fat. Food labels differ slightly, so calories typed from the label may not match exactly.
- Status: Over or Under calories when the day is more than the tolerance on Settings away from target; Low protein when protein is under 90% of target; No log when nothing was logged that day.
- A food that is not on the Foods sheet shows Not in food list and adds nothing to the totals until you add it.
- The foods in the sample are typical values to show the sheet working: replace them with the labels of what you eat. This is a logging sheet, not medical or dietary advice.
Still running this on Excel?
This sheet suits a start and a limited amount of data. If your way of working grows, or you need more than one person working on it at the same time, Softwiro can build you a program that fits the way you work.
| In this sheet | In Custom Software from Softwiro |
|---|---|
| One file that one person edits at a time, and copies reach you on WhatsApp. | A program with a login for each user and permissions you define, and everyone sees the same data. |
| You type everything and check the numbers by hand. | We design the screens around your work steps, so each person records only what concerns them. |
| Columns and formulas are fixed as the sheet was designed. | We build what you need: reports, alerts and screens your way. |
| Backups and security are your own responsibility. | The program runs on a secured server with regular backups. |
Frequently asked questions
Is this macro tracker free?
Yes. Download it, use it and change anything you like.
Does it work in Google Sheets and LibreOffice?
Yes. It uses ordinary formulas such as SUMIFS, INDEX and MATCH, so it works in Excel 2016 and later, LibreOffice and Google Sheets.
Does it come with a food database?
It comes with 18 common foods as examples. Replace them with the foods and label values you use; the Foods sheet holds 150.
Can I use pounds?
Targets are calculated per kg, so type your body weight in kg. Food weights in the Serving column are just text and can be in any unit.
Why does a food say Not in food list?
Its name is not on the Foods sheet. Add it there or pick it from the dropdown; until then it adds nothing to the totals.
Is the template free?
Yes, with no sign-up and no email address. Use it, edit it and share it as you like.
Does it work in Google Sheets and on mobile?
The sheet uses formulas supported by Excel 2016 and later, Google Sheets and LibreOffice, so you can upload it to Google Drive and open it with Google Sheets on a computer or a phone.
What is the difference between the white and the gray cells?
You type in the white cells; the gray cells are calculated automatically. Don't type in a gray cell, or you will erase its formula.
Can I use the sheet from an AI assistant?
Yes. Add our MCP server (URL https://softwiro.com/api/mcp, no key needed) to your assistant and ask it to do the calculation in this template. The numbers come from the sheet's own formulas, and we do not store your data. The steps and a ready-made prompt are in this article: https://softwiro.com/blog/mcp-excel-templates-ai-agent-guide.html
More free templates for: Gyms and fitness
Step-by-step guide: Athlete nutrition and macros in Excel (free): daily calories, protein, carbs and fat for your goal
More free templates
- Gym Membership Tracker for Excel
- Workout Log Template for Excel (Progressive Overload)
- Running Log Template for Excel (Run, Cycle, Swim, Walk)
- Training Load Tracker for Excel (Session RPE and ACWR)
- Football Player Stats Tracker for Excel (Per 90, Season Totals)
- Basketball Stats Tracker Template for Excel (Box Score Log)
- Swim Time Tracker Template for Excel (Personal Bests by Event)
- Martial Arts and Boxing Training Log Template for Excel
- Tennis and Padel Match Tracker Template for Excel
- Track and Field Results and Personal Bests Tracker for Excel
- Sports Court Booking Tracker for Excel
- Ad Agency Client and Report Tracker Template for Excel
- Google Ads Audit Checklist for Excel (48 Checks, Scored)
- Ad Lead Quality Tracker for Excel (Cost per Qualified Lead)
- Batch and Expiry Inventory Tracker for Excel (Lot Numbers, FEFO)
- Event Venue Booking Tracker for Excel (Deposits and Calendar)
- Photography Booking Tracker for Excel (Sessions, Deposits, Galleries)
- Restaurant Reservation Tracker for Excel (Tables, No-Shows)
- Short-Term Rental Booking Tracker for Excel