+ Reply to Thread
Results 1 to 4 of 4

Restructuring Listed Entries Into a Matrix, Matching Rows and Columns?

  1. #1
    Registered User
    Join Date
    04-14-2015
    Location
    Lincoln, UK
    MS-Off Ver
    2013
    Posts
    37

    Restructuring Listed Entries Into a Matrix, Matching Rows and Columns?

    Hi All -

    I have arguably the biggest project I have ever attempted via excel here! I have a list of about 2,000 stock items, all broken down to a row for each ingredient contained within said product (so lines for each stock item/product can vary from between 3 to about 15 rows per product, depending on amount of ingredients).

    What I really need to do, is try and make excel 'deposit' the % of each ingredient against the correct row in a new 'matrix' (that is to say, match stock code, column H in the e.g. file), with the correct column along on the same row for the named ingredient).

    I think the e.g. file demonstrates what is required.

    There are about 2,000 products vs about 200 ingredients so although it'd choke the computer, I don't mind this for the sake of a few hours, when the other option is to input manually!!

    (The packaging can be discarded for this exercise, it's just ingredients).

    I have already got excel to do a lot of the work using index/match vs 2 x criteria. I am wondering, in light of the huge amount of data, what the most efficient formula would be to use again. The data would be index/matched on a further page, so I'd like to keep it simple. I'd prefer not to go the pivot route, unless there is no other option, as I'm not a massive user of them at the moment!

    Hope this makes sense and I would really appreciate the help as this could open up some other like projects for me which would be really useful!

    Thanks,

    Stuart
    Attached Files Attached Files

  2. #2
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Restructuring Listed Entries Into a Matrix, Matching Rows and Columns?

    If you put the quantity found in column B(eg: 10 KG), in a different column not in the same, then you could use:
    =SUMPRODUCT(($B$8:$B$13=$I3)*($D$8:$D$13=L$1)*($C$8:$C$13=L$2),$F$8:$F$13)
    or replace tthe stock description with product code,this part ($B$8:$B$13=$I3) with this$A$8:$A$13=$H3)
    Click the * to say thanks.

  3. #3
    Registered User
    Join Date
    04-14-2015
    Location
    Lincoln, UK
    MS-Off Ver
    2013
    Posts
    37

    Re: Restructuring Listed Entries Into a Matrix, Matching Rows and Columns?

    Please ignore this, I've sort of double posted!
    Last edited by EduardStoo; 02-21-2019 at 11:43 AM.

  4. #4
    Registered User
    Join Date
    04-14-2015
    Location
    Lincoln, UK
    MS-Off Ver
    2013
    Posts
    37

    Re: Restructuring Listed Entries Into a Matrix, Matching Rows and Columns?

    Thanks Paul -

    I think this might work OK thanks. I can base the formula to work on the code and not the descriptions (i.e. as you say, change formula to column A, not B and column H, not I). The descriptions are not consistent, BUT the codes are, so this should work fine!

    I'll come back to you!

    Thanks,

    Stuart

+ 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. How to identify in a matrix if an X is listed in two columns of data
    By neim0003 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-25-2016, 01:51 PM
  2. Replies: 2
    Last Post: 02-11-2014, 05:05 AM
  3. [SOLVED] Comparing Columns with Matching Results Listed in One Cell
    By mako_cc in forum Excel General
    Replies: 5
    Last Post: 11-21-2013, 12:48 PM
  4. Replies: 6
    Last Post: 04-05-2013, 07:31 PM
  5. [SOLVED] matching entries in different columns
    By papa007 in forum Excel General
    Replies: 5
    Last Post: 07-11-2012, 10:00 AM
  6. Sum Column Entries that fall within Date Range Listed In Rows
    By Ben in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-10-2006, 12:44 PM
  7. [SOLVED] Matching duplicate entries between two columns
    By Pops Jackson in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-28-2006, 10:45 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