Thread
:
I have a question regarding countif formula.
View Single Post
#
2
Richard Buttrey
Posts: n/a
On Fri, 30 Sep 2005 07:11:02 -0700, Fahad Farid Ansari <Fahad Farid
wrote:
I have a question regarding countif formula. I have two columns have value a
b c d in first and in second column i have 1 2 3 4 5 now i want a formula
that could tell me how many a are there that have 1
=countif(A1:A5, "=1") and (b1:b5,"=a") the formula would be something like
this can anybody help
One solution is an array formula.
={SUM((A1:A5="a")*(B1:B5=1))}
Don't forget you need to enter the formula with CTRL SHIFT and Enter
in order to get the squiggly brackets {}.
HTH
__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________
Reply With Quote