+ Reply to Thread
Results 1 to 4 of 4

Please help!! Trying to group together identical ingredients for a single total

  1. #1
    Registered User
    Join Date
    12-08-2021
    Location
    Berlin, Germany
    MS-Off Ver
    2021 excel for mac
    Posts
    2

    Please help!! Trying to group together identical ingredients for a single total

    Hi Everyone,

    Bit of a noob when it comes to excel so even when reading 'how to's' on the internet that require any kind knowledge is very confusing!

    The over all aim is to create a shopping list of ingredients from recipes I have entered into the sheet.

    Heres what i've done already..

    I've made a sheet called 'recipes' with all the recipes and their ingredients listed and calculated. I've added filters so i can filter by the shop where to buy from for example. I now want a shopping list sheet connected to that one.

    Here's the problem, There are multiple lines of the same ingredient. For example many recipes have eggs in, so eggs are listed like 10 times. I don't want that. I just want eggs totalled (and every other ingredient to).

    I've tried to make sure all the ingredients are all spelt exactly the same!

    I've attached the spreadsheet to get a better idea of what i'm talking about!

    If anyone could help me i'd really appreciate it,
    Thank you
    Hamish
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,364

    Re: Please help!! Trying to group together identical ingredients for a single total

    See attached: "Summary List" which created by cop/paste vales then "Remove Duplicates" from your "Shopping List"

    for QTY

    =SUMIF('Shopping List'!D:D,A2,'Shopping List'!E:E)

    for Unit

    =INDEX('Shopping List'!G:G,MATCH(A2,'Shopping List'!D:D,0))
    Attached Files Attached Files
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Registered User
    Join Date
    12-08-2021
    Location
    Berlin, Germany
    MS-Off Ver
    2021 excel for mac
    Posts
    2

    Re: Please help!! Trying to group together identical ingredients for a single total

    Quote Originally Posted by JohnTopley View Post
    See attached: "Summary List" which created by cop/paste vales then "Remove Duplicates" from your "Shopping List"

    for QTY

    =SUMIF('Shopping List'!D:D,A2,'Shopping List'!E:E)

    for Unit

    =INDEX('Shopping List'!G:G,MATCH(A2,'Shopping List'!D:D,0))
    Thank you so much for this! Looks great and I can now see totals. One last question, can I now filter that shopping list? Would be great to add..

    Shop
    Category
    Perishable
    To freeze

    to the list you made and to be able to filter by each of them. Is it possible? Attached is the most recent sheet!

    Thanks again! This really helped
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,364

    Re: Please help!! Trying to group together identical ingredients for a single total

    Drag formula in C to F (See Attached)

    "To freeze" is a "Recipe" attribute not "Shopping List"
    Attached Files Attached Files

+ 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. Replies: 1
    Last Post: 10-09-2021, 04:06 AM
  2. [SOLVED] Group the rows containing identical names
    By Fulminare in forum Excel General
    Replies: 9
    Last Post: 09-26-2021, 12:30 AM
  3. Replies: 1
    Last Post: 11-15-2020, 02:17 PM
  4. Replies: 14
    Last Post: 01-12-2017, 01:41 PM
  5. Identify a group of rows where all values in one column are identical
    By shadowthorn69 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-13-2014, 04:18 AM
  6. Replies: 8
    Last Post: 01-09-2014, 08:01 PM
  7. Sort a group of names based on the group total
    By ron2k_1 in forum Excel General
    Replies: 3
    Last Post: 08-13-2010, 01:16 PM

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