Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
how do I count the number of times text in column A matches text i
I'm trying to count the number of times text in one column, say, A matches
text in another column, say, B. So, if A1=B1, count = 1, then if A2=B2, count = 2, for the whole of both columns. |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
how do I count the number of times text in column A matches text i
=sumproduct(--(A1:A100=B1:B100))
-- HTH RP (remove nothere from the email address if mailing direct) "Sheila" wrote in message ... I'm trying to count the number of times text in one column, say, A matches text in another column, say, B. So, if A1=B1, count = 1, then if A2=B2, count = 2, for the whole of both columns. |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
how do I count the number of times text in column A matches text i
You can use:
{=SUM(IF(A1:A3=B1:B3,1,0))} This is an array formula, so don't type in the {}, use Ctrl+Sift+Enter to confirm(not just enter) the formula. "Sheila" wrote: I'm trying to count the number of times text in one column, say, A matches text in another column, say, B. So, if A1=B1, count = 1, then if A2=B2, count = 2, for the whole of both columns. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
creating a bar graph | Excel Discussion (Misc queries) | |||
How to count the number of times something occurs within a certain month | Excel Worksheet Functions | |||
Formula to lookup Multiple Column Text and then Count Result | Excel Worksheet Functions | |||
Count number of occurences in 1 column only if something in anothe | Excel Worksheet Functions | |||
COUNT INFORMATION IN COLUMN B ONLY IF A1 MATCHES K1 COUNT THAT CE. | Excel Worksheet Functions |