Microsoft Excel

Harry Taylor

Registered User.
Local time
Today, 23:32
Joined
Jul 10, 2012
Messages
90
Gents,

can anyone help with an Excel formula?

I've been asked to count how many times an occurrence happens over 3 columns.

The formula I have so far looks like this (which doesn’t work)
=if(V;V="DAA",if(H:H="DAA",countif(E:E="CB")))

Basically count how many rows where column V=”DAA”, column H=”DAA” and column E=”CB”.
I know this would be fairly easy in access, but it must be in excel.
Any help would be greatly appreciated?
 
If you mean you want to count only the rows where all 3 values occur in the same row, then the way I would do it would be to use an additional column (which can be hidden if necessary) which would be a concatenation of columns V,H,E and then use Countif on this column where the value is DAADAACB

David
 
If you mean you want to count only the rows where all 3 values occur in the same row, then the way I would do it would be to use an additional column (which can be hidden if necessary) which would be a concatenation of columns V,H,E and then use Countif on this column where the value is DAADAACB

David
 
Thanks David,

I was trying to avoid an additional column, but it may ben my only option.

I have also tried the SUMPRODUCT;
=SUMPRODUCT(V2:V1010="DAA",H2:H1010="DAA",E2:E1010="CB")

but this returns a value of 0 in every field ???
 
=countifs(e2:e3000,"=cb",h2:h3000,"=vaa",v2:v3000,"=vaa")
 
ah yes syswizard's method will work if you have Excel 2007 ->
 

Users who are viewing this thread

Back
Top Bottom