+ Reply to Thread
Results 1 to 8 of 8

Formula to compile cooking ingredients?

  1. #1
    Registered User
    Join Date
    05-28-2020
    Location
    Pennsylvania
    MS-Off Ver
    16
    Posts
    3

    Question Formula to compile cooking ingredients?

    Basically I want to make a spreadsheet where I can select through a database of meals and plan my meals for the next 7 days. I would then like for excel to use the ingredients from the recipe database to tell me exactly and how much of each ingredient I would need. Some recipes may call for the same ingredient like eggs so they would need to be summed up. Also I don't know how to make excel tell me only the ingredients I need.

    How I imagined I would make it:
    Across X axis list every ingredient that is used by at least one of my recipes.
    Under the bolded "Shopping List" have Excel add up the ingredients for every meal selected above, add alike ingredients and tell me what I need.

    I have attached screenshots of what I have so far as well as a dummy workbook. I only included sample recipes and ingredients for exemplification.
    I am open to suggestions if anyone has an easier way.

    The main problems I don't have the knowledge for is:
    1- After selecting the meals in the column, I do not know a formula(s) that would add alike recipes
    and
    2- Display ONLY required ingredients for that week.

    Thank you for your help and taking the time to read this mess. Hope it made sense.
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by auzzle; 05-28-2020 at 02:31 PM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 2000/3/7/10/13/16
    Posts
    49,556

    Re: Formula to compile cooking ingredients?

    To best describe or illustrate your problem you would be better off attaching a dummy workbook. The workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    05-28-2020
    Location
    Pennsylvania
    MS-Off Ver
    16
    Posts
    3

    Re: Formula to compile cooking ingredients?

    I attached it under the photos.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 2000/3/7/10/13/16
    Posts
    49,556

    Re: Formula to compile cooking ingredients?

    Not sure if the file was already there and I missed it, or not, but thanks anyway.

    Now, what would your expected outcome look like?

  5. #5
    Forum Contributor
    Join Date
    03-24-2020
    Location
    Thailand
    MS-Off Ver
    Office 2016
    Posts
    320

    Re: Formula to compile cooking ingredients?

    Suggestion: On the various database sheets, list the ingredients as the header row C1:B
    You then have a grid where you can either flag the ingredient is required for that dish, or take it further and enter the amount you need per serving so you could also add the required quantity of each ingredient (multiplied by the number of servings).

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    Office 365 (Win 10 - Work) & Office 365 Subscription Insider (Win 10 - Home)
    Posts
    39,641

    Re: Formula to compile cooking ingredients?

    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

  7. #7
    Registered User
    Join Date
    05-28-2020
    Location
    Pennsylvania
    MS-Off Ver
    16
    Posts
    3

    Re: Formula to compile cooking ingredients?

    I was thinking this is how I would do it. On the first page where it would tell me how much of each ingredient I need do you know how to make it only tell me the ingredients I need?

  8. #8
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2010/2019
    Posts
    9,909

    Re: Formula to compile cooking ingredients?

    Hello auzzle and Welcome To Excel Forum.
    I believe that the thread linked below addresses something similar to that which you are looking.
    https://www.excelforum.com/excel-for...l-planner.html
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Ordering of ingredients
    By Markp2010 in forum Excel General
    Replies: 4
    Last Post: 02-20-2019, 06:49 AM
  2. [SOLVED] Do I have enough ingredients
    By Markp2010 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-01-2018, 10:35 PM
  3. [SOLVED] Formula for % of ingredients in a list?
    By Boomerj2 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-14-2014, 12:06 PM
  4. Replies: 9
    Last Post: 10-16-2014, 07:46 AM
  5. [SOLVED] Want to know the ingredients of sumif formula
    By Sarangsood in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 11-05-2013, 05:21 AM
  6. Excel 2007 : Help with prices of ingredients used
    By louise2613 in forum Excel General
    Replies: 2
    Last Post: 06-18-2011, 05:36 AM
  7. Bachelor cooking Xmas dinner !
    By Graham B. in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 12-31-2005, 10:36 AM

Tags for this Thread

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