+ Reply to Thread
Results 1 to 3 of 3

Confused with calculating ingredient consumption

  1. #1
    Registered User
    Join Date
    10-01-2022
    Location
    Detroit, Michigan
    MS-Off Ver
    2013
    Posts
    2

    Confused with calculating ingredient consumption

    Hi guys, thanks for any help you can offer.

    I'm in charge of reception for a restaurant and was looking to create a tool that would aid order planning by calculating ingredient consumption based on sales data.

    I was messing around with the following test case to see how it would work. Basically what I want to do is find out how much of each ingredient I use on a weekly basis.

    Here are my ingredients listed by dish and quantity:

    1.PNG

    My dishes and their weekly sales:

    2.PNG

    I establish a relationship between the two tables, linking them by name of dish.

    I create a Pivot Table based on this data model.

    5.PNG

    But it does this weird summing thing with the sales data, so that it's unusable:

    6.PNG

    7.PNG

    Any idea what's going on? I would ideally like to multiply sales per dish by ingredient quantity, but I can't do that if the Pivot Table sums all the sales data and doesn't let me see sales per dish.

    All help is much appreciated.

    Cheers!

  2. #2
    Registered User
    Join Date
    10-01-2022
    Location
    Detroit, Michigan
    MS-Off Ver
    2013
    Posts
    2

    Re: Confused with calculating ingredient consumption

    Sorry, just read the thing about attaching a workbook and not photos. Here it is:Book1.xlsx

  3. #3
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,134

    Re: Confused with calculating ingredient consumption

    One way is to extend columns for the Ingredient in Sales table and use this formula:
    I3=SUMIFS(Ingredients[Quantity],Ingredients[Name of dish],[@[Name of dish]],Ingredients[Ingredient],I$2)*[@[Weekly sales]], copy down and across.
    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. [SOLVED] need formula to total up ingredient
    By choy96 in forum Excel General
    Replies: 19
    Last Post: 09-28-2022, 06:26 AM
  2. Replies: 11
    Last Post: 01-18-2021, 07:35 PM
  3. [SOLVED] Calculating Car Daily Consumption
    By drgkt in forum Excel General
    Replies: 38
    Last Post: 10-29-2017, 03:14 AM
  4. [SOLVED] ingredient and price
    By senorkevin in forum Excel General
    Replies: 7
    Last Post: 11-12-2012, 11:35 PM
  5. Replies: 1
    Last Post: 10-03-2012, 10:32 PM
  6. Replies: 1
    Last Post: 09-29-2012, 02:24 PM
  7. [SOLVED] Macro executes but not giving results :confused::confused::confused:
    By Ganesh7299 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-15-2012, 10:49 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