+ Reply to Thread
Results 1 to 8 of 8

how to create shopping list from menu options?

  1. #1
    Registered User
    Join Date
    03-07-2012
    Location
    southampton, england
    MS-Off Ver
    Excel 2003
    Posts
    4

    how to create shopping list from menu options?

    hi guys,

    trying to create an excel sheet where i can tick a meal option, and it will then tell me how many of the required ingredients i need to buy. fairly simple for the educated, and once i have the "base" formula i will hopefully be able to tinker it to my needs ;-)

    heres a very basic screenshot of what i want to happen...excel screenshot.jpg

    by inserting a "y" in the column next to "fajitas" i would then like the ingredients to all display "1", sure i can tinker if for example i need 2 onions!

    Hope you can help

    Cheers

    Mark
    Last edited by mchorley; 03-07-2012 at 07:21 PM.

  2. #2
    Forum Contributor
    Join Date
    01-28-2010
    Location
    Riverside, CA
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: formula help for excel lover but novice!!

    try:

    =IF(B2="y",SUM(C2:H2),"")
    Happy Excel'ing!

  3. #3
    Registered User
    Join Date
    03-07-2012
    Location
    southampton, england
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: formula help for excel lover but novice!!

    Quote Originally Posted by shg View Post
    Welcome to the forum, mchorley.

    Please take a few minutes to read the forum rules, and then amend your thread title accordingly.

    Thanks.
    Thank you SHG, have done so accordingly (hopefully) ;-)

  4. #4
    Registered User
    Join Date
    03-07-2012
    Location
    southampton, england
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: formula help for excel lover but novice!!

    Quote Originally Posted by haru View Post
    try:

    =IF(B2="y",SUM(C2:H2),"")
    Nope.... that just gives me a "0" in the formula box, what im after is a "1" below each of the ingredients, so for example i can build on the sheet, add 20 or so different meals, but pick 7 a week that i want to eat and the sheet will eventually generate a shopping list.

    Thx for your reply though, much appreciated :-)

  5. #5
    Registered User
    Join Date
    03-06-2012
    Location
    seattle, USA
    MS-Off Ver
    Excel 2010
    Posts
    41

    Re: how to create shopping list from menu options?

    Add the formula =IF($B2="Y","1","") in cell C2 and drag it down and right(till column-H). See if it helps.

    ---------------------------------------------------------------------------------------------------------------------------------------------------------
    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below.

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  6. #6
    Forum Contributor
    Join Date
    01-28-2010
    Location
    Riverside, CA
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: formula help for excel lover but novice!!

    Hi mchorley,

    I think I know what you are trying to accomplish, I've attached a file with what I think you are looking for. The box to the right will total up all the ingredients you need to buy if there is a "y" in the yes? column. Tell me what you think.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    03-07-2012
    Location
    southampton, england
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: formula help for excel lover but novice!!

    Quote Originally Posted by haru View Post
    Hi mchorley,

    I think I know what you are trying to accomplish, I've attached a file with what I think you are looking for. The box to the right will total up all the ingredients you need to buy if there is a "y" in the yes? column. Tell me what you think.
    MOST EXCELLENT HARU :-))) thats exactly what i was after, i can tinker with evn my limited knowkledge to expand that sheet.... thank you very much.

    Mark

  8. #8
    Forum Contributor
    Join Date
    01-28-2010
    Location
    Riverside, CA
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: how to create shopping list from menu options?

    No problem Mark, I'm glad I was able to help, please remember to edit the title of the post with [Solved].

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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