#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 361
Default Countifs

Excel 2007: Trying to use Countifs
To simplify, in column B, over the range B2:B1250, I have the letters a,b,c,d
I need a count of "a", =countif( B2:B1250,"a"). This is 149
To get a count of "b", =countif( B2:B1250,"b") This is 22

I had never used the new countifs function so I tried it
=countifs(b2:b1250,"a",b2:b1250,"b") I get zero (0) rather than 171. I
even tried to array enter the formula.

Does this not work withing the same range, as I am attempting to do?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Countifs

Take a look COUNTIFS() in Help menu


"Carl" wrote:

Excel 2007: Trying to use Countifs
To simplify, in column B, over the range B2:B1250, I have the letters a,b,c,d
I need a count of "a", =countif( B2:B1250,"a"). This is 149
To get a count of "b", =countif( B2:B1250,"b") This is 22

I had never used the new countifs function so I tried it
=countifs(b2:b1250,"a",b2:b1250,"b") I get zero (0) rather than 171. I
even tried to array enter the formula.

Does this not work withing the same range, as I am attempting to do?

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 with an OR? RobofMN Excel Worksheet Functions 3 January 20th 09 01:58 AM
Countifs to Sumproduct for 2003 - was Simple Countifs.. from Fr Steve Excel Worksheet Functions 2 January 4th 09 05:36 PM
Countifs Diane Excel Worksheet Functions 1 November 21st 08 09:43 AM
Countifs Fx in 07 how in 03? HenderH Excel Discussion (Misc queries) 19 March 26th 08 12:37 PM
countifs Forza MIlan Excel Discussion (Misc queries) 2 July 4th 07 09:48 AM


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