+ Reply to Thread
Results 1 to 3 of 3

Creating a matrix from columns

  1. #1
    Ernie Sersen
    Guest

    Creating a matrix from columns

    I have an Excel Sheet A with 3 columns. Col A=Site; Col B=Part; Col
    C=Quantity. Rows of site and parts data are added daily and may contain the
    same site or same part number along with quantities for each row in Col C. I
    then create Sheet B with unique sites and unique parts so that I now have a
    matrix of unique sites in Col A and unique parts (transposed)in Row 1. In
    the data cells of the matrix, I need to know how to reference back to the
    Sheet A to summarize the quantities (Col C) of each unique part located at
    each unique site (VLOOKUP? SUMIF? Some other database function?) Any idea's?

  2. #2
    Peo Sjoblom
    Guest

    Re: Creating a matrix from columns

    One way

    =SUMPRODUCT(--('SheetA'!$A$2:$A$200="Site1"),--('SheetA'!$B2:$B200="Part1"),
    'SheetA'!$C2:$C200)

    adapt to fit you sheet names and site and part numbers

    of course you can replace the hard coded names with the matrix values

    =SUMPRODUCT(--(SheetA!$A$2:$A$200=$A2),--(SheetA!$B2:$B200=B$1),SheetA!$C2:$
    C200)

    and copy across and down

    --

    Regards,

    Peo Sjoblom


    "Ernie Sersen" <[email protected]> wrote in message
    news:[email protected]...
    > I have an Excel Sheet A with 3 columns. Col A=Site; Col B=Part; Col
    > C=Quantity. Rows of site and parts data are added daily and may contain

    the
    > same site or same part number along with quantities for each row in Col C.

    I
    > then create Sheet B with unique sites and unique parts so that I now have

    a
    > matrix of unique sites in Col A and unique parts (transposed)in Row 1. In
    > the data cells of the matrix, I need to know how to reference back to the
    > Sheet A to summarize the quantities (Col C) of each unique part located at
    > each unique site (VLOOKUP? SUMIF? Some other database function?) Any

    idea's?



  3. #3
    Duke Carey
    Guest

    RE: Creating a matrix from columns

    Am I missing something? Wouldn't this just be a simple Pivot Table?

    "Ernie Sersen" wrote:

    > I have an Excel Sheet A with 3 columns. Col A=Site; Col B=Part; Col
    > C=Quantity. Rows of site and parts data are added daily and may contain the
    > same site or same part number along with quantities for each row in Col C. I
    > then create Sheet B with unique sites and unique parts so that I now have a
    > matrix of unique sites in Col A and unique parts (transposed)in Row 1. In
    > the data cells of the matrix, I need to know how to reference back to the
    > Sheet A to summarize the quantities (Col C) of each unique part located at
    > each unique site (VLOOKUP? SUMIF? Some other database function?) Any idea's?


+ 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