aryanaveen
Board Regular
- Joined
- Jan 5, 2015
- Messages
- 104
Hi All,
I am looking for a formula where I can count based on 2 criteria.
Example
[TABLE="width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Naveen[/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]A[/TD]
[TD]A[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Praveen[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]f[/TD]
[TD]f[/TD]
[TD]f[/TD]
[TD]f[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Abhay[/TD]
[TD]d[/TD]
[TD]d[/TD]
[TD]g[/TD]
[TD]g[/TD]
[TD]g[/TD]
[TD]f[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Prakash[/TD]
[TD]d[/TD]
[TD]f[/TD]
[TD]i[/TD]
[TD]a[/TD]
[TD]i[/TD]
[TD]a[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Giri[/TD]
[TD]d[/TD]
[TD]j[/TD]
[TD]f[/TD]
[TD]j[/TD]
[TD]k[/TD]
[TD]a[/TD]
[/TR]
</tbody>[/TABLE]
In the above table I want to count number of "A" in range "C1:H5" where Column B is having "Naveen". Please note "Naveen" can be in any row under column B.
Please help
I am looking for a formula where I can count based on 2 criteria.
Example
[TABLE="width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Naveen[/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]A[/TD]
[TD]A[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Praveen[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]f[/TD]
[TD]f[/TD]
[TD]f[/TD]
[TD]f[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Abhay[/TD]
[TD]d[/TD]
[TD]d[/TD]
[TD]g[/TD]
[TD]g[/TD]
[TD]g[/TD]
[TD]f[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Prakash[/TD]
[TD]d[/TD]
[TD]f[/TD]
[TD]i[/TD]
[TD]a[/TD]
[TD]i[/TD]
[TD]a[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Giri[/TD]
[TD]d[/TD]
[TD]j[/TD]
[TD]f[/TD]
[TD]j[/TD]
[TD]k[/TD]
[TD]a[/TD]
[/TR]
</tbody>[/TABLE]
In the above table I want to count number of "A" in range "C1:H5" where Column B is having "Naveen". Please note "Naveen" can be in any row under column B.
Please help