Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default If and CountIF Nesting

I want to create a formula that will calculate how many rows satisfy the
following criteria:

Column A = Hartford
Column B = Yes
Column C = Yes

I'm run into a problem trying to nest the if and countif functions. Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default If and CountIF Nesting

COUNTIF works on only one criteria.

For multiple criteria you need to use SUMPRODUCT

=SUMPRODUCT(--(A1:A10="Hartford"),--(B1:B10="Yes"),--(C1:C10="Yes")) will
count all rows for which column A shows Hartford, column B shows Yes, and
column C shows Yes.

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"nperpill" wrote:

I want to create a formula that will calculate how many rows satisfy the
following criteria:

Column A = Hartford
Column B = Yes
Column C = Yes

I'm run into a problem trying to nest the if and countif functions. 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nesting functions - Countif ... Dos Equis Excel Worksheet Functions 4 November 15th 06 05:31 PM
nesting with countif Ross Excel Discussion (Misc queries) 1 September 14th 05 01:39 AM
IF - Nesting... almost got it - need a bit of help AngelaG Excel Worksheet Functions 1 August 22nd 05 10:30 PM
Nesting formulae with COUNTIF Helen McClaine Excel Discussion (Misc queries) 1 January 22nd 05 12:52 AM
nesting sum if and BMSpell Excel Worksheet Functions 2 January 20th 05 05:10 PM


All times are GMT +1. The time now is 09:04 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"