Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Multiple condition countif for excel 2003

Hi,

if I have 2 lines of data say, A and B.

I need to count num of data that fulfill both X criteria in A row and Y
criteria in B row.

How do I do that?

Thanks.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default Multiple condition countif for excel 2003

=SUMPRODUCT(--(criterium for A),--(criterium for B))
Give more details on criteria if you don't succeed!

Regards,
Stefi

€˛goayimm€¯ ezt Ć*rta:

Hi,

if I have 2 lines of data say, A and B.

I need to count num of data that fulfill both X criteria in A row and Y
criteria in B row.

How do I do that?

Thanks.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Multiple condition countif for excel 2003

HI,

say I have table like this:

A B
X 1
X 1
X 0
X 1
1
X 0

so, i would like to count all that that fulfill X in column A and 1 in
column B.
the answer should be 3.

Thanks.


"Stefi" wrote:

=SUMPRODUCT(--(criterium for A),--(criterium for B))
Give more details on criteria if you don't succeed!

Regards,
Stefi

€˛goayimm€¯ ezt Ć*rta:

Hi,

if I have 2 lines of data say, A and B.

I need to count num of data that fulfill both X criteria in A row and Y
criteria in B row.

How do I do that?

Thanks.


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default Multiple condition countif for excel 2003

=SUMPRODUCT(--(A1:A6="X"),--(B1:B6=1))
Warning! You have to adjust ranges to your real needs! In Excel 2003 you
can't refer to entire columns (like A:A)! (In excel 2007 yes!)

Regards,
Stefi


€˛goayimm€¯ ezt Ć*rta:

HI,

say I have table like this:

A B
X 1
X 1
X 0
X 1
1
X 0

so, i would like to count all that that fulfill X in column A and 1 in
column B.
the answer should be 3.

Thanks.


"Stefi" wrote:

=SUMPRODUCT(--(criterium for A),--(criterium for B))
Give more details on criteria if you don't succeed!

Regards,
Stefi

€˛goayimm€¯ ezt Ć*rta:

Hi,

if I have 2 lines of data say, A and B.

I need to count num of data that fulfill both X criteria in A row and Y
criteria in B row.

How do I do that?

Thanks.


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Multiple condition countif for excel 2003

YAY it works!
thanks

=)

"Stefi" wrote:

=SUMPRODUCT(--(A1:A6="X"),--(B1:B6=1))
Warning! You have to adjust ranges to your real needs! In Excel 2003 you
can't refer to entire columns (like A:A)! (In excel 2007 yes!)

Regards,
Stefi


€˛goayimm€¯ ezt Ć*rta:

HI,

say I have table like this:

A B
X 1
X 1
X 0
X 1
1
X 0

so, i would like to count all that that fulfill X in column A and 1 in
column B.
the answer should be 3.

Thanks.


"Stefi" wrote:

=SUMPRODUCT(--(criterium for A),--(criterium for B))
Give more details on criteria if you don't succeed!

Regards,
Stefi

€˛goayimm€¯ ezt Ć*rta:

Hi,

if I have 2 lines of data say, A and B.

I need to count num of data that fulfill both X criteria in A row and Y
criteria in B row.

How do I do that?

Thanks.




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default Multiple condition countif for excel 2003

You are welcome! Thanks for the feedback!
Stefi

€˛goayimm€¯ ezt Ć*rta:

YAY it works!
thanks

=)

"Stefi" wrote:

=SUMPRODUCT(--(A1:A6="X"),--(B1:B6=1))
Warning! You have to adjust ranges to your real needs! In Excel 2003 you
can't refer to entire columns (like A:A)! (In excel 2007 yes!)

Regards,
Stefi


€˛goayimm€¯ ezt Ć*rta:

HI,

say I have table like this:

A B
X 1
X 1
X 0
X 1
1
X 0

so, i would like to count all that that fulfill X in column A and 1 in
column B.
the answer should be 3.

Thanks.


"Stefi" wrote:

=SUMPRODUCT(--(criterium for A),--(criterium for B))
Give more details on criteria if you don't succeed!

Regards,
Stefi

€˛goayimm€¯ ezt Ć*rta:

Hi,

if I have 2 lines of data say, A and B.

I need to count num of data that fulfill both X criteria in A row and Y
criteria in B row.

How do I do that?

Thanks.


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
multiple condition Lookup in Excel [email protected] Excel Worksheet Functions 2 March 12th 08 02:57 PM
lookup with multiple condition, but one condition to satisfy is en Eddy Stan Excel Worksheet Functions 2 October 27th 07 02:06 PM
COUNTIF - more than one condition Gary Excel Worksheet Functions 4 May 8th 07 08:46 PM
Compound condition with COUNTIF Mike McLellan Excel Discussion (Misc queries) 1 November 29th 05 10:50 AM
countif condition problem Scott Excel Worksheet Functions 8 November 11th 05 08:59 AM


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