PC Review


Reply
Thread Tools Rate Thread

Countif using criteria in multiple columns

 
 
=?Utf-8?B?SW1hR2luYQ==?=
Guest
Posts: n/a
 
      14th Sep 2006
Hi ~

I need to get a count of cells in column F that equal a number between
111000 and 111999, when the corresponding cell in column G equals 924350,
924550, 934350, or 934570. I've tried using the below formula for the first
part but can't figure out the second part. Help!

=COUNTIF(CLOSED!F:F,">=111000")-COUNTIF(CLOSED!F:F,">=111999")
 
Reply With Quote
 
 
 
 
Biff
Guest
Posts: n/a
 
      14th Sep 2006
Hi!

Try this:

A1 = 111000
B1 = 111999
C1:C4 = 924350; 924550; 934350; 934570

=SUMPRODUCT(--(Closed!F1:F10>=A1),--(Closed!F1:F10<=B1),--(ISNUMBER(MATCH(Closed!G1:G10,C1:C4,0))))

Note: Sumproduct will not work on entire columns F:F

Biff

"ImaGina" <(E-Mail Removed)> wrote in message
news:99238F12-13B3-4398-B23B-(E-Mail Removed)...
> Hi ~
>
> I need to get a count of cells in column F that equal a number between
> 111000 and 111999, when the corresponding cell in column G equals 924350,
> 924550, 934350, or 934570. I've tried using the below formula for the
> first
> part but can't figure out the second part. Help!
>
> =COUNTIF(CLOSED!F:F,">=111000")-COUNTIF(CLOSED!F:F,">=111999")



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Countif across two separate columns with multiple criteria AndyR Microsoft Excel Misc 1 18th Feb 2010 09:29 AM
Nesting COUNTIF for multiple criteria in multiple columns NeedExcelHelp07 Microsoft Excel Worksheet Functions 1 12th Dec 2007 05:47 PM
Re: COUNTIF with criteria in 2 columns Bob Phillips Microsoft Excel Misc 0 20th Dec 2006 01:02 PM
Re: COUNTIF with criteria in 2 columns Bob Phillips Microsoft Excel Misc 0 20th Dec 2006 11:51 AM
Countif with criteria from multiple columns denisel Microsoft Excel Misc 4 13th Jan 2004 05:33 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:04 PM.