+ Reply to Thread
Results 1 to 2 of 2

Use a Sales table and BOL table to get a Total Ingredients Used report

  1. #1
    Registered User
    Join Date
    02-22-2012
    Location
    Northern Wisconsin
    MS-Off Ver
    Office 365 Business
    Posts
    5

    Use a Sales table and BOL table to get a Total Ingredients Used report

    I'm looking for help trying to combine two tables I created in Power Query.
    The first table is a simple sales table telling me how many of each product sold
    The second table is a BOL table telling me how much raw ingredients it takes to make each finished product
    I'm looking for a way to create a report to tell me how much of each individual raw ingredients it took to make the total sales for a given date range.
    I'm trying to forecast how much ingredients I have to purchase for next year based on previous years sales
    I've attached a spreadsheet showing the tables I have to work with and at the bottom, the expected result
    Thank you for any guidance
    Steve
    Attached Files Attached Files

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

    Re: Use a Sales table and BOL table to get a Total Ingredients Used report

    The easiest way to do is to extend the Sales Table with 4 columns for the raw materials (RAW1 to RAW4), put in the following formula in cell F15 and copy down and across then add the Total Row for the Sales Table.

    Formula:=SUMPRODUCT((Table1[MFGPROD]=[@MFGPROD])*(Table1[DETAILID]=F$14)*Table1[QTY]*[@SOLD])

+ 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: 0
    Last Post: 04-27-2021, 11:10 AM
  2. [SOLVED] Find the value in the table and add up the instances of a team's total sales
    By sniper1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-26-2021, 02:35 PM
  3. Pivot Table - Running Total daily sales How?
    By sovietchild in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 10-13-2018, 01:59 AM
  4. Master ingredients table
    By swarmcatcheruk in forum Excel General
    Replies: 8
    Last Post: 02-19-2018, 01:39 PM
  5. [SOLVED] Monitoring total staff sales from separate table
    By aspink3 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-11-2015, 05:46 AM
  6. Pivot table with customer sales data, into an individual report with specific rows
    By fireforge112 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-17-2014, 04:36 PM
  7. [SOLVED] Pivot Table - report product that have sales above defined level
    By richard in forum Excel General
    Replies: 0
    Last Post: 12-09-2005, 10:10 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