+ Reply to Thread
Results 1 to 18 of 18

Shopping list creator

  1. #1
    Registered User
    Join Date
    08-14-2009
    Location
    Lincoln, England
    MS-Off Ver
    Excel 2007
    Posts
    57

    Shopping list creator

    Hi, I'm new to this site, as I have a problem I'm hoping somebody can help with. I'll try and describe in as much detail as possible:

    I have created an excel sheet for recipes that my wife and I cook regularly, just the ingredients. I have half achieved my aim to make this produce a shopping list for meals we choose for the week. I say half achieved as each item is listed separately even if there are multiple identical items. For example, the shopping list may call for 2 chicken breasts for Mondays meal, and 2 chicken breasts for Thursdays meal, but what I really want is for it to create a more streamlined list which would just have 4 chicken breasts.

    I realise that this is an unsual request, but if anybody can help me out I'd appreciate it. If it would be useful to attach my work in progress, I will do.

    Many Thanks,

    Dom
    Last edited by DrPips; 08-14-2009 at 01:30 PM. Reason: title not relevant

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Think I've bitten off more than I can chew!

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    re: Shopping list creator

    also x-posted: http://www.mrexcel.com/forum/showthread.php?t=409807

  4. #4
    Registered User
    Join Date
    08-14-2009
    Location
    Lincoln, England
    MS-Off Ver
    Excel 2007
    Posts
    57

    re: Shopping list creator

    Is it a problem, me posting on 2 forums?

    Didn't intentionally break any rules.

    Dom

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    re: Shopping list creator

    Not if you x-reference them... else people run the risk of spending free time on something answered elsewhere... (that said forums other than MrE / EF.com are far less tolerant of the practice)

  6. #6
    Registered User
    Join Date
    08-14-2009
    Location
    Lincoln, England
    MS-Off Ver
    Excel 2007
    Posts
    57

    re: Shopping list creator

    Ahh ok, that makes sense. Thanks for letting me know. I'm fairly new to forums in general, not just this one.

    Thanks,

    Dom

  7. #7
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    re: Shopping list creator

    Now that everything is cleared up, I think what you want can be done with SUMPRODUCT but would need to see your spreadsheet layout.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  8. #8
    Registered User
    Join Date
    08-14-2009
    Location
    Lincoln, England
    MS-Off Ver
    Excel 2007
    Posts
    57

    re: Shopping list creator

    Hi,

    I've attached a copy of the work in progress. Hope you can make sense of it, it's my first really ambitious spreadsheet.

    Dom
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    08-14-2009
    Location
    Lincoln, England
    MS-Off Ver
    Excel 2007
    Posts
    57

    re: Shopping list creator

    Is anyone able to help with this? I think the best way to achieve what I want is to create a drop down list in the recipe enter sheet, and then find someway to compile the data, but not sure how to do this.

    Can anybody help?

    Dom

  10. #10
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    re: Shopping list creator

    well for a start you need to split
    500g Potatoes 4 Spring Onions
    into seperate cells
    500 potatoes 4 spring onions the key thing is to get numbers seperate
    you then need to get an unique list of items from the total shopping list.you could use advanced filter to extract that.
    then you could use sumif to get the totals
    see attached macro to run advanced filter included!
    Attached Files Attached Files
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  11. #11
    Registered User
    Join Date
    08-14-2009
    Location
    Lincoln, England
    MS-Off Ver
    Excel 2007
    Posts
    57

    Re: Shopping list creator

    Thanks for the advice, I'd already starting splitting the ingredients into seperate entries for quantity, unit of measurement and description, and I used a combobox to do this, as I figured it would be pretty important to ensure they are all entered identically (i.e 2 chicken breasts, 2 breasts of chicken).

    Now the next step is to alter the macro I had for entering recipes, as it will be taking more values, but more importantly, the values in the combo boxes. The current macro just takes the numerical order on the list, rather than the text it relates to, so my question is, how do i create a macro that automatically moves 69 values from one sheet to another. For example, from (sheet recipe enter) C2:C66, but where a lot of those are combo box entries, to (sheet Recipe Main) next available row.

    I'm pretty sure I'm not explaining myself very well, below is the current macro I'm using:

    Please Login or Register  to view this content.
    Thanks,

    Dom
    Last edited by DrPips; 08-15-2009 at 06:53 PM. Reason: code tags

  12. #12
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Shopping list creator

    now on that i have no idea sorry ! (ps add code tags or a mod will be after you!)

  13. #13
    Registered User
    Join Date
    08-14-2009
    Location
    Lincoln, England
    MS-Off Ver
    Excel 2007
    Posts
    57

    Re: Shopping list creator

    Sorry, what do you mean by code tags?

  14. #14
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Shopping list creator

    http://www.excelforum.com/misc.php?do=bbcode#code
    basicaly put
    [codex]Please Login or Register to view this content.[/code]
    Last edited by martindwilson; 08-15-2009 at 06:03 PM.

  15. #15
    Registered User
    Join Date
    04-12-2013
    Location
    New Mexico
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Shopping list creator

    I have been trying to do the same thing I would like to try new recipes and it is always a hassle to make the shopping list. I did make my list to have ingredients and quantity and units in different columns. However I was hoping excel could do unit conversions. So example if I have 5 recipes that I plan to make that use Tb sugar and another that uses cups sugar I will get a total of cups.

    Any help would be appreciated

  16. #16
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Shopping list creator

    Unfortunately you need to post your question in a new thread, it's against the forum rules to post a question in the thread of another user. If you create your own thread, any advice will be tailored to your situation so you should include a description of what you've done and are trying to do. Also, if you feel that this thread is particularly relevant to what you are trying to do, you can surely include a link to it in your new thread.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  17. #17
    Registered User
    Join Date
    04-12-2013
    Location
    New Mexico
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Shopping list creator

    I just started a new post, however could someone tell me how to add my spread sheet as an attachment so that others can help me?

  18. #18
    Registered User
    Join Date
    02-08-2014
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    1

    Re: Shopping list creator

    I'm new to using this forum - I'm also want a spreadsheet where I can input recipe ingredients and then create a shopping list based on the recipes I'll cook that week. Would it be possible for me to get an updated copy of DrPips spreadsheet? In advance, I apologize if this is not the appropriate place to ask for this.

+ 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