Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I had my results in A10:D14 and raw data in so in A2:D8 to
B11: =SUMPRODUCT(($A$2:$A$8=$A11)*($B$1:$D$1=B$10)*$B$2 :$D$8) copy across and down for your matrix =SUMPRODUCT(($A$2:$A$8=$A11)*($U$1:$W$1=U$10)*$U$2 :$W$8) Change ranges (sheets) as required. A B C D 10 U V W <== your range 11 Green 2 1 1 12 Yellow 2 0 1 13 Orange 0 1 1 14 Red 0 1 0 "Richhall" wrote: Hi I have a number of columns with a lot of rows: A U V W Green 1 0 0 Yellow 1 0 0 Green 1 1 0 Orange 0 1 1 Red 0 1 0 Green 0 0 1 Yellow 1 0 1 I want to be able to produce the following table U V W Green 3 1 1 Yellow 2 0 1 Orange 0 1 1 Red 0 1 0 So basically a summary. Basically do a count on the number of Greens in column A if U has a corresponding 1 and so on for every colour and each letter? Probably not explaned well IF U is a 1 count the colour next to it. Can anyone help pleasE? Cheers Rich |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Count entries in one column based on values in another column | Excel Worksheet Functions | |||
Count Non-Blanks in one column based on criteria in another | Excel Worksheet Functions | |||
how to count a column based on condition of another column | Excel Worksheet Functions | |||
SUM/COUNT column(s) based on specific value present within the column | Excel Worksheet Functions | |||
Count based on another column | Excel Discussion (Misc queries) |