Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Ernie Sersen
 
Posts: n/a
Default 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   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

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" wrote in message
...
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   Report Post  
Duke Carey
 
Posts: n/a
Default

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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
print excel columns on less pages a_ryan1972 Excel Discussion (Misc queries) 1 February 9th 05 05:41 PM
Columns in Excel will not allow user to click in them Kim Excel Discussion (Misc queries) 1 December 28th 04 06:37 PM
Counting the Contents of Two Columns Molochi Excel Discussion (Misc queries) 6 December 22nd 04 08:13 PM
Pivot Table Creating New Columns that Subtract Two Existing Columns den4673 Excel Discussion (Misc queries) 3 December 17th 04 01:31 PM
Creating a chart with values from two columns Ivan Charts and Charting in Excel 2 December 12th 04 07:31 PM


All times are GMT +1. The time now is 02:04 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"