Need help making a formula for a Calorie/macro Tracker (VLookup / Match /offset function)

natenate88

New Member
Joined
Jan 22, 2015
Messages
3
Hi all, trying to put together a calories and macro tracker. I've looked at other samples but can't seem to figure this out. I'm new to this and have just been doing process and error but I'm not getting anywhere.

Here my file on the link below, via another excel forum,

http://www.excelforum.com/attachments/excel-general/372097d1421905268-making-a-calorie-and-macros-tracker-need-help-with-vlookup-and-match-functions-calorietracker.xlsx

372082d1421900513-making-a-calorie-and-macros-tracker-need-help-with-vlookup-and-match-functions-caloriestracker.png


I've got my first sheet where I would enter my foods from dropdowns, and the values would automatically fill in. I made a "Categories" column with a dropdown list to differentiate the food items. So if I chose the Dairy/Milk in the dropdown the next column over would correspond with the list of Dairy and milk items.


My next sheet is where I made the database, organized by the categories. Then I just have a list of my categories on the last sheet.

Since I've listed my categories in one table, I would need a function to sort out the items in the list that correspond to the category?
Meaning if I chose "Dairy/Milk" in the DD, it would lookup and match "Dairy/Milk" from the database and list the corresponding food items in the DD. Please give me some input, thanks a lot. :)

Any advice or help to get this to work? Any help would be greatly appreciated.

Here my file on the link below, via another excel forum,

http://www.excelforum.com/attachments/excel-general/372097d1421905268-making-a-calorie-and-macros-tracker-need-help-with-vlookup-and-match-functions-calorietracker.xlsx
 
Last edited:

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Out of curiosity, why are you building this? MyFitnessPal for your phone is free and already does calorie tracking and includes barcode scanning so it's quick and easy to add what you have eaten.
 
Upvote 0

Forum statistics

Threads
1,216,103
Messages
6,128,854
Members
449,472
Latest member
ebc9

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top