Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Countif using criteria in multiple columns

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")
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default Countif using criteria in multiple columns

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" wrote in message
...
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
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
Using Countif with multiple criteria JustLearning Excel Worksheet Functions 1 August 3rd 06 09:30 PM
Using Countif with multiple criteria bj Excel Worksheet Functions 0 August 3rd 06 07:16 PM
SUMIF with multiple criteria, by columns Question Excel Worksheet Functions 3 March 29th 06 05:27 AM
COUNTIF or SUM function (Multiple criteria) HELP!! Australia Excel Worksheet Functions 3 September 19th 05 07:39 AM
Countif for multiple criteria Jim Rennie Excel Worksheet Functions 3 June 21st 05 01:38 AM


All times are GMT +1. The time now is 06:56 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"