LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Countif: Multiple Columns

Hi folks,

I have two ranges and am trying to count how many times "0" occurs
simultaneously in both.

Example:

A B C

X 0 0
Y 3 1
Z 5 0
XX 0 0

The countif should come back as "2" (2 values [x and xx] share 0 in
common)

I tried =Countif(B2:B100, "0") + Countif(C2:C100, "0"). That didn't
work even though one would think "+" should be an "and" and not an
"or" (Excel treated "+" as an "or" so that in the above example the
result came back as "3")

I've read in other help sites a pivot table would be the best tool to
use, but I really didn't want to get that complicated...it's a pretty
simple spredsheet.

Thanks for any help,

R.E. Kelly
 
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 COUNTIF for multiple criteria in multiple columns NeedExcelHelp07 Excel Worksheet Functions 1 December 12th 07 05:47 PM
Countif Using Multiple Columns Rob E Excel Worksheet Functions 4 January 24th 07 08:47 AM
Sum or Countif over Multiple Columns AndyO_UK Excel Worksheet Functions 3 December 1st 06 02:48 PM
using a countif with multiple columns [email protected] Excel Worksheet Functions 3 August 22nd 06 04:17 AM
Using Countif on multiple columns ingeman Excel Worksheet Functions 1 July 17th 06 06:08 AM


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