ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Countif. (https://www.excelbanter.com/excel-discussion-misc-queries/238240-countif.html)

GEM

Countif.
 
I want count the ammount of times that a name comes up in a given day, for
example,

A B
1 July 20, 2009 John Doe
2 July 20, 2009 Jane Doe
3 July 28, 2009 John Doe
4 July 28, 2009 John Doe
5 July 28, 2009 Jane Doe
6 July 28, 2009 Jane Doe
7 July 28, 2009 Jane Doe

On July 20, 2009
John Doe - 1
Jane Doe - 1

On July 28, 2009,
John Doe - 2
Jane Doe - 3


What function can I use??



Jim Thomlinson

Countif.
 
Same as the last formula but without the last part...

=SUMPRODUCT((Sheet1!A$1:A$100=A$1)*(Sheet1!B$1:B$1 00=A2))

--
HTH...

Jim Thomlinson


"GEM" wrote:

I want count the ammount of times that a name comes up in a given day, for
example,

A B
1 July 20, 2009 John Doe
2 July 20, 2009 Jane Doe
3 July 28, 2009 John Doe
4 July 28, 2009 John Doe
5 July 28, 2009 Jane Doe
6 July 28, 2009 Jane Doe
7 July 28, 2009 Jane Doe

On July 20, 2009
John Doe - 1
Jane Doe - 1

On July 28, 2009,
John Doe - 2
Jane Doe - 3


What function can I use??




All times are GMT +1. The time now is 02:31 PM.

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