ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   countifand (https://www.excelbanter.com/excel-worksheet-functions/170548-countifand.html)

tonyalt3

countifand
 
Is it possible to do a countifand function?
I have a list w/2 columns, last name (column A)/first name (column
B). I need to know how many times adams, john is listed, however
there are several people w/the last name Adams, so I can't just do a
Countif for Adams.

David Biddulph[_2_]

countifand
 
=SUMPRODUCT((A1:A100="Adams")*(B1:B100="John"))
--
David Biddulph

"tonyalt3" wrote in message
...
Is it possible to do a countifand function?
I have a list w/2 columns, last name (column A)/first name (column
B). I need to know how many times adams, john is listed, however
there are several people w/the last name Adams, so I can't just do a
Countif for Adams.




vezerid

countifand
 
=SUMPRODUCT((A1:A100="Adams")*(B1:B100="John"))

HTH
Kostis Vezerides

On Dec 21, 9:01 pm, tonyalt3 wrote:
Is it possible to do a countifand function?
I have a list w/2 columns, last name (column A)/first name (column
B). I need to know how many times adams, john is listed, however
there are several people w/the last name Adams, so I can't just do a
Countif for Adams.



tonyalt3

countifand
 
On Dec 21, 1:06*pm, vezerid wrote:
=SUMPRODUCT((A1:A100="Adams")*(B1:B100="John"))

HTH
Kostis Vezerides

On Dec 21, 9:01 pm, tonyalt3 wrote:



Is it possible to do a countifand function?
I have a list w/2 columns, last name (column A)/first name (column
B). *I need to know how many times adams, john is listed, however
there are several people w/the last name Adams, so I can't just do a
Countif for Adams.- Hide quoted text -


- Show quoted text -


Perfect!!! Thanks


All times are GMT +1. The time now is 02:52 AM.

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