Results 1 to 11 of 11

Complete Newbie Here, Grocery List Help

Threaded View

  1. #10
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Complete Newbie Here, Grocery List Help

    I got the general gist of what the original programmer was trying to do with this. I decided to use that layout, but my own design.

    This program isn’t complete, but I’d like you to perform some QA on it before I go further. What the program is not doing is picking up the side dishes. I have to “extract” the program I got that does the main dishes and make it more general, but before I do that, I want to make sure it does what it’s supposed to do.

    Also to be able to test it, I had to remove a lot of data. The program was using ingredients that were not in the database. So I cut it back so we would have data integrity.

    Start on the Recipes Sheet. This is where you will enter in the dishes and whether they are main or side (this cell is validated) and how many people the recipe serves and an optional link to the recipe itself.

    Then go to the Ingredients Sheet. Enter in the dish (this cell is validated from the entries on the Recipe Sheet), the amount (a whole positive number), the unit of measure (this cell is validated from a list on the Loolups Sheet (Column A). You can add to this list. Don’t mess with the other information on this sheet. You can hide this sheet when not using it.

    Continue by entering the ingredient name and then how to round to the nearest unit. That is, if you are measuring a cup, you can measure to the nearest ¼ of a cup. On the other hand, you are probably not going to use ¼ can or ¼ loaf. Some things come in whole units.

    The program uses this information to round to the nearest unit of measure. So it might come out to be 1.2674321 tablespoons of something, but it will round to the nearest 0.25 tablespoons or 1.25 but since you can always do with more, but never do with less, if the rounded value is less than the required value, it gets “bumped up a notch.” In this case another ¼ tablespoon.

    There is a fallacy here: \ the combined plan may call for a total of 5.5 tablespoons of salt. Stores don’t sell salt by the tablespoon. Also you probably have all the salt you need on hand.

    Once you have these two tables filled in, then you can go to the Meal Plan sheet. I’ll give you a button in the future to clear this out so you can start with a fresh sheet.

    The date is validated to a date later than 30 days ago. I could just as well validate it to a date later than or equal to today. Let me know what you would like.

    Serves is limited to a whole positive number. This is the number of people you want to serve with this meal. This information is combined with the number of people the recipe serves to determine what you need. If the recipe serves 4 people and you need 1 cup of milk, but you are now serving 6, the program will calculate the need for 1.5 cups of milk.

    The main dish is validated to those dishes you mark as main dishes in the recipes.

    The side dishes are validated to those dishes you mark as side dishes in the recipes. As I mentioned above, I’m not looking at these right now. I will add them after we work the bugs out of this version.

    Then you can go to the shopping sheet. Click on the Compile List Button and everything should compute. That’s another advantage of limiting the data; it makes testing easier. It looks like I got the proper rollups.

    The list should print nicely in portrait mode.

    Play with it. Try to break it. Let me know what needs fixin’
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. A complete newbie.
    By Adammulti in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-07-2015, 12:06 PM
  2. Grocery list
    By jammerculture in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-19-2015, 04:22 PM
  3. only print lines of grocery list with check mark
    By rhamblin in forum Excel General
    Replies: 2
    Last Post: 02-09-2013, 01:07 AM
  4. [SOLVED] Creating a grocery list in a new worksheet based on selected items in a master list
    By jacolli4 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-28-2012, 07:53 AM
  5. [SOLVED] Grocery List with Price comparison
    By mrJack808 in forum Excel General
    Replies: 8
    Last Post: 04-04-2012, 10:57 AM
  6. First Time Poster - Questions about Grocery List
    By Pastor in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-20-2006, 03:38 PM
  7. a weekly grocery list and costs, available coupons and value
    By Excellente12 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-24-2006, 12:20 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1