#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 31
Default Two COUNTIFs

I can use COUNTIF to determine the number of times a name shows up in a
column. I want a formula that will determine the number of times that a
certain name in a row also has a lower case x in another column in the same
row. I cannot figure out how to use two COUNTIFs in the same formula.

Thank you for your help.
--
Russell
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Two COUNTIFs

Use SUMPRODUCT(), it can handle multiple columns and multiple criteria:

=SUMPRODUCT(--(A1:A1000="James"),--(B1:B1000="x"))

See:

http://www.xldynamic.com/source/xld.SUMPRODUCT.html

--
Gary''s Student - gsnu200800


"Russell" wrote:

I can use COUNTIF to determine the number of times a name shows up in a
column. I want a formula that will determine the number of times that a
certain name in a row also has a lower case x in another column in the same
row. I cannot figure out how to use two COUNTIFs in the same formula.

Thank you for your help.
--
Russell

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 31
Default Two COUNTIFs

I have searched various other emails about COUNTIFs and find that the
following formula works:
=SUMPRODUCT(--(Jun_2008!E$2:E$20=A4),--(Jun_2008!K$2:K$20="x"))
--
Russell


"Russell" wrote:

I can use COUNTIF to determine the number of times a name shows up in a
column. I want a formula that will determine the number of times that a
certain name in a row also has a lower case x in another column in the same
row. I cannot figure out how to use two COUNTIFs in the same formula.

Thank you for your help.
--
Russell

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
COUNTIFS Function MOLLY66 Excel Worksheet Functions 7 August 19th 08 02:59 PM
Countifs Fx in 07 how in 03? HenderH Excel Discussion (Misc queries) 19 March 26th 08 12:37 PM
Question about COUNTIFS jade Excel Worksheet Functions 0 January 23rd 08 12:55 AM
countifs Forza MIlan Excel Discussion (Misc queries) 2 July 4th 07 09:48 AM
2 COUNTIFS Joey041 Excel Discussion (Misc queries) 1 November 16th 06 08:11 AM


All times are GMT +1. The time now is 01:47 PM.

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"