Forum Discussion
Complex equations with multiple input values
I’ll break it down clearly and step by step so it’s easy to follow.
Step 1: Set up your input sheet
- Open Excel and create a new sheet called Calculator.
- In column A, put your input labels:
Cell | Label |
A1 | Patient Name |
A2 | Ideal Weight (kg) |
A3 | Illness Factor (unitless) |
A4 | Diet Code |
3. In column B, these will be your inputs:
Cell | Input Example |
B1 | Fluffy |
B2 | 5 |
B3 | 1.2 |
B4 | D1 |
Step 2: Calculate RER
The standard RER formula for mammals is:
In Excel, in cell B5, type:
=70*(B2^0.75)*B3
- B2 = ideal weight
- B3 = illness factor
Label A5 as RER (kcal/day). This will now automatically calculate the resting energy requirement.
Step 3: Preprogram diets
- Make a new sheet called Diets.
- In column A, enter Diet Code, column B Diet Name, column C kcal per can:
A | B | C |
D1 | Puppy Diet | 350 |
D2 | Senior Diet | 300 |
D3 | Weight Management | 250 |
You can add as many as you like.
Step 4: Pull kcal per can automatically
Back in the Calculator sheet, in cell B6 (label A6 = kcal per can), use a VLOOKUP formula:
=VLOOKUP(B4, Diets!A:C, 3, FALSE)
- B4 = Diet Code input
- Diets!A:C = range of diet data on the Diets sheet
- 3 = column number for kcal/can
- FALSE = exact match
Now, when you type D1, D2, etc., the kcal per can will automatically populate.
Step 5: Calculate cans per day
In cell B7 (label A7 = Cans per Day), type:
=B5/B6
- This divides the calculated RER by kcal per can to give the number of cans needed per day.
How it works
- Enter the patient’s ideal weight, illness factor, and diet code.
- Excel calculates the RER.
- It automatically pulls kcal per can based on diet code.
- It calculates how many cans/day the patient needs.
You can expand this:
- Add multiple patients in rows.
- Add more diets.
- Format numbers to 1 decimal place for neatness.
General Free Excel Template Libraries
These sites have tons of templates; most are not veterinary, but you can adapt them easily:
Site Name | Link | Notes |
Microsoft Excel Templates (Official) | Large library, calculators, trackers, planners | |
Vertex42 | Popular free templates; includes food/nutrition templates | |
Smartsheet | Curated templates, includes calculation sheets | |
Template.net | Thousands of free and editable Excel templates | |
WPS Office Templates | Free Excel-compatible templates, trackers, calculators |
Food / Nutrition Templates (Closer to your needs)
Templates that include calories, food logs, or meal tracking — these are the best base for your RER/can calculations:
Template Name | Link | Notes |
Food Calorie Calculator | Simple food calorie totals; can adapt for kcal per can | |
Daily Calorie Counter Excel Template | Tracks daily calories; adaptable for pets | |
Recipe Nutrition Calculator Template | Calculates calories/macros for recipes | |
Free Calorie Tracker Spreadsheet | Weekly tracker template; formulas in place | |
Diet & Nutrition Tracker Templates | Meal diary & nutrition log; adaptable structure |
My answers are voluntary and without guarantee!
Hope this will help you.
Was the answer useful? Mark as best response and like it!
This will help all forum participants.