+ Reply to Thread
Results 1 to 6 of 6

Cross referencing

  1. #1
    Forum Contributor
    Join Date
    09-05-2009
    Location
    Cologne, Germany
    MS-Off Ver
    Excel 2010
    Posts
    156

    Red face Cross referencing

    I am sorry to bother you guys again – third time this week (been a nightmare alleviated by your kind help!). I have a list of products that have individual item numbers that share some common sizes and some common materials and are ordered in different quantities. When it comes to re-ordering the raw material to remake these items, I need to know how many of each item in the same type of material and size, need to be made. The attached spreadsheet shows more clearly what I am probably failing to explain! I have tried various combinations of VLOOKUP combined with MATCH but I can’t get anything to work – I guess I’m getting a little punch drunk here having spent the whole morning trying to find a solution!
    Attached Files Attached Files
    Last edited by kborgers; 02-05-2010 at 10:56 AM.

  2. #2
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: Cross referencing

    see attached example.
    formulas have been entered for the table "Material".
    hope it helps.
    modytrane
    Attached Files Attached Files

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

    Re: Cross referencing

    in I3 dragged accross and down
    =SUMPRODUCT(--($B$2:$B$27=$H3),--($F$2:$F$27=I$2),$E$2:$E$27)
    then custom format cells
    ##,#00;-0;;@ to hide 0's
    Last edited by martindwilson; 02-05-2010 at 10:21 AM.
    "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

  4. #4
    Valued Forum Contributor JeanRage's Avatar
    Join Date
    03-02-2009
    Location
    Nice, France
    MS-Off Ver
    Excel 2003
    Posts
    705

    Re: Cross referencing

    Hi Kevin,

    With sumproduct() function ... see attached

    HTH

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

    Re: Cross referencing

    If as implied in your profile you're using XL2007 you should look to use SUMIFS in preference to SUMPRODUCT, ie:

    Please Login or Register  to view this content.

    in this instance you could also consider using a Pivot Table with Material as Column Label, Size as Row Label and Qty as Data Field (set to Sum)

  6. #6
    Forum Contributor
    Join Date
    09-05-2009
    Location
    Cologne, Germany
    MS-Off Ver
    Excel 2010
    Posts
    156

    Re: Cross referencing

    You guys never cease to amaze me! Thank you so much for your contributions and have a great weekend! Works fine now!

+ 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