Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Count same text from different rows
I have database like given below
A B C D E Q2 a c c a Q2 b a a a Q1 d a a Q2 c a Q1 d a b a I want to count how many "a" are there in different column for Q1, or how many "c" are there in different column for Q2. (Q1 & Q2 are only in A column.) |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Count same text from different rows
=SUMPRODUCT(($A$1:$A$5="Q1")*($B$1:$E$5="a"))
etc. -- __________________________________ HTH Bob "kashish" wrote in message ... I have database like given below A B C D E Q2 a c c a Q2 b a a a Q1 d a a Q2 c a Q1 d a b a I want to count how many "a" are there in different column for Q1, or how many "c" are there in different column for Q2. (Q1 & Q2 are only in A column.) |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Count same text from different rows
Try this
=SUMPRODUCT((A1:A20="Q2")*(B1:E20="a")) Cahnge the criteria for your other counts Mike "kashish" wrote: I have database like given below A B C D E Q2 a c c a Q2 b a a a Q1 d a a Q2 c a Q1 d a b a I want to count how many "a" are there in different column for Q1, or how many "c" are there in different column for Q2. (Q1 & Q2 are only in A column.) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
how do I count rows with text values in several columns. | Excel Worksheet Functions | |||
count number of rows with 2 matching text cells | Excel Worksheet Functions | |||
Count number of rows, where non relevant rows are hidden | Excel Discussion (Misc queries) | |||
Count rows and insert number to count them. | Excel Discussion (Misc queries) | |||
Why does rngDataSource.Rows.Count = 65536 when worksheet Rows=95? | Excel Discussion (Misc queries) |