Hello. I realized with the problem I have I can not solve with formulas due to a need for a loop.
Currently I have a database full of food, each records has food ID, food name, group (healthy/unhealthy), and price.
I have a user enter in an amount of money they have, then I want a random meal to be generated. Right now i have randomized meals appearing which is good, but price has not been considered... I think this is where my loop and VBA skills are needed.
I layout everything in the workbook below. Thank You your help really is apperciated!
example2.xlsx
Bookmarks