Alright, this problem has been annoying me for the past 3 hours or so
I had to create a new account on here for help!
Basically I want a formula that will randomly select foods that are under a specific amount of calories and return the value as a randomly selected food which has an amount of calories that are under the specified amount
This is what I got so far:
INDEX(Recipes!E11:F20,MATCH(RANDBETWEEN(37,D18),Recipes!F11:F20,1),1)
Recipes!E11:F20 is the list of foods in E with the calories of them in F
Recipes!F11:F20 are the calories of the foods
D18 is the value that I want the formula to search for foods under
All this formula does is return around 4 foods, when its supposed to return more...
Please help!
Bookmarks