Have you tried this app? there are a few others like it but it free and I find it has really good recipes, but other apps will do the same thing. You simply go through the categories of dinners, desserts, etc, and when you find something you like, you click add to grocery list, and then it makes a Handy list that you take with you to market. Its a simple idea, but I happen to like the interface on the app and I think it is very well designed and east to use. It compiles it together from all the recipes, so if more than recipes used tomatoes, you would know how many to get as it adds them up for you.