#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 20
Default 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.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default 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.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 751
Default 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.


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 20
Default 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
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:42 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"