#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
raspywench
 
Posts: n/a
Default COUNTIF Help


Hello,

I am trying to get a formula correct that basically performs the
following function:

=COUNT(IF(Data!$C$2:$C$191=Summary!B$3,IF(Data!$M$ 2:$M$191,"X",0)))...

But I want it to return the count of the "X"s in that column (right now
it omits the "X"s and counts the other cells.

Also, if I wanted to use this same formula and have it count the number
of "1"s, "2"s, or "3"s in a column, how would I do that?

Any help is appreciated! Thank you!


--
raspywench
------------------------------------------------------------------------
raspywench's Profile: http://www.excelforum.com/member.php...o&userid=20717
View this thread: http://www.excelforum.com/showthread...hreadid=496437

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
duane
 
Posts: n/a
Default COUNTIF Help


not sure I understand what you want to do but

=sumproduct((Data!$C$2:$C$191=Summary!B$3)*(Data!$ M$ 2:$M$191="X"))

i think will do it - count x's in column M subject to meeting critiera
for column C


--
duane


------------------------------------------------------------------------
duane's Profile: http://www.excelforum.com/member.php...o&userid=11624
View this thread: http://www.excelforum.com/showthread...hreadid=496437

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
Formula format for Count or Countif funtion with two criterias Debi Excel Worksheet Functions 2 September 26th 05 08:23 PM
COUNTIF or not to COUNTIF on a range in another sheet Ellie Excel Worksheet Functions 4 September 15th 05 10:06 PM
Combining IF and COUNTIF based on two columns maxtrixx Excel Discussion (Misc queries) 5 March 31st 05 06:21 PM
Countif - Countif maswinney Excel Worksheet Functions 3 November 15th 04 11:06 PM
countif, again Liz G Excel Worksheet Functions 2 November 1st 04 11:20 PM


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