# Excel Recipe Nutrients Calculator

A couple of years ago, I posted an Excel Calorie Counter workbook, which has been very popular. In one of the comments, Autumn suggested that I add a recipe calculator to the file.

"I'm also looking to add a sheet within the workbook, that would work similarly to the Daily Entry sheet, where I can input a recipe to calculate the nutritional info for 1 serving of said recipe."

And in the latest version, that Recipe Calculator has been added. Thanks Autumn, for the suggestion and the reminder. ;-)

The new version also has protein, carbohydrates, fat and fibre data. If you download the workbook, please let me know what you think of the changes.

### Enter the Recipe Ingredients

On the new RecipeCalc sheet, you can enter a Recipe Name and category, and the number of servings. Then, enter the ingredients and their categories, along with the required amounts.

### Calculate the Amounts

Also enter the amount shown in the Food List measurement, and the worksheet calculates a multiplier. This feature uses the Excel CONVERT function.

For example:

• In the first row shown below, the recipe calls for 1.25 pounds of chicken.
• The Food List has the nutrient information for 100 grams of chicken.

### Add to the Food List

After you calculate the recipe's nutrients per serving, you can copy the total amounts, and paste as values in the FoodList sheet.

I used the category _MY RECIPES, but you could use one of the standard categories, if you prefer.

### Use Your Recipes in the Daily Data Entry

Once your recipes are added to the list, you can select them in the FoodEntry worksheet, where you enter your daily food choices.

You can download a zipped copy of the Excel Calorie Counter with Recipe Calculator on the Contextures website. The file is in Excel 2007 format, and contains a macro. In the "UserForms, VBA, Add-ins" section, look for "UF0016 - Excel Calorie Counter With Recipe Calculator"

As I mentioned when posting the original Calorie Counter, I'm not a medical professional, so use this workbook for entertainment purposes only. The calorie counts are from Health Canada, so the ingredients and calorie counts might be different where you live. Check the product labels for accurate numbers.

If you're looking for more nutrient information, to add items to the food list, you can try these websites:

This is a beta version of the Recipe Calculator, and I have a few ideas for improving it, and I'd appreciate your thoughts too. If you download the file, and test it, please let me know if you have any suggestions for making it easier to use. You can add a comment below, or send me a quick email –
ddalgleish @ contextures.com.

__________________

### 2 comments to Excel Recipe Nutrients Calculator

• Autumn

Thanks for getting this up so quickly after my 2 month late reminder lol

Couple questions, because I am horrible at this stuff.

a) I cannot copy and paste totals into foodlist, they come up as the #DIV/0! error. So i have to write them down or flip between sheets

b) Is there a way to have a save button, like the daily entry button, and have the recipe totals save to the foodlist that way? just wondering. That would be wonderful!

• There's a website called FatSecret which has an API that could be leveraged in VBA, but it requires OAuth which I don't have the strength to implement right now.

NutritionData gets their data from the USDA. You could simply download the latest nutrition information (here: http://www.ars.usda.gov/Services/docs.htm?docid=22113) and create a few lookup formulas to grab whatever you needed, then plug in the latest data as it changes. I did write to them, however, to see if they have an API.