ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   counting numbers (https://www.excelbanter.com/excel-discussion-misc-queries/261085-counting-numbers.html)

showry

counting numbers
 
Hi All,

I have a Query like This. Pls Give your Suggestions.
DATA:
anil 0
sunil 1
anil 1
sunil 0
anil 1
sunil 0


Ans:
Anil 2
Sunil 1 I need to count the numbers against name which number is more
that 0.

Regards,
Anil.

Mike H

counting numbers
 
Maybe this

=SUMIF(A1:A6,"Anil",B1:B6)
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"showry" wrote:

Hi All,

I have a Query like This. Pls Give your Suggestions.
DATA:
anil 0
sunil 1
anil 1
sunil 0
anil 1
sunil 0


Ans:
Anil 2
Sunil 1 I need to count the numbers against name which number is more
that 0.

Regards,
Anil.
.


Jarek Kujawa[_2_]

counting numbers
 
=SUMPRODUCT((A1:A6="anil")*B1:B6)


On 9 Kwi, 13:44, showry wrote:
Hi All,

I have a Query like This. Pls Give your Suggestions.
DATA:
anil * *0
sunil *1
anil * *1
sunil * 0
anil * *1
sunil * 0

Ans:
Anil *2
Sunil 1 *I need to count the numbers against name which number is more
that 0.

Regards,
Anil.



showry

counting numbers
 
Hi,

you have given me the

sumif and sumproduct which is not helping me to counting the numbers..
Pls any other options?

Regards,
Anil.


On Apr 9, 5:32*pm, Mike H wrote:
Maybe this

=SUMIF(A1:A6,"Anil",B1:B6)
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.

"showry" wrote:
Hi All,


I have a Query like This. Pls Give your Suggestions.
DATA:
anil * *0
sunil *1
anil * *2
sunil * 0
anil * *1
sunil * 0


Ans:
Anil *2
Sunil 1 *I need to count the numbers against name which number is more
that 0.


Regards,
Anil.
.




All times are GMT +1. The time now is 04:27 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com