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 Multiple Functions

I am trying to use the Countif function meeting two different criterias in
two different columns but I keep getting an error message. This is the syntax
I am trying to use:

=COUNTIF(D:D,"Criteria A"E:E,"Criteria B")

Please help me.

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default Multiple Functions

No can do. Try this withOUT entire columns.
=sumproduct((d2:d22="whatever")*(e2:e22=2))

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Linar33" wrote in message
...
I am trying to use the Countif function meeting two different criterias in
two different columns but I keep getting an error message. This is the
syntax
I am trying to use:

=COUNTIF(D:D,"Criteria A"E:E,"Criteria B")

Please help me.

Thanks.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default Multiple Functions

Try something like this:

=SUMPRODUT((D1:D100="Criteria A")*(E1:E100="Criteria B"))

Adjust range references to suit your situation.

Is that something you can work with?
Post back if you have more questions.
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"Linar33" wrote in message
...
I am trying to use the Countif function meeting two different criterias in
two different columns but I keep getting an error message. This is the
syntax
I am trying to use:

=COUNTIF(D:D,"Criteria A"E:E,"Criteria B")

Please help me.

Thanks.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Multiple Functions

=SUMPRODUCT(--(D2:D200="Criteria A"),--(E2:E200="Criteria B"))

You have to pass explicit ranges, not whole colums, to SUMPRODUCT


--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Linar33" wrote in message
...
I am trying to use the Countif function meeting two different criterias in
two different columns but I keep getting an error message. This is the
syntax
I am trying to use:

=COUNTIF(D:D,"Criteria A"E:E,"Criteria B")

Please help me.

Thanks.



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Multiple Functions

If you have XL-2007 than you can use COUNTIFS fucntion otherwise use
SUMPRODUCT function

XL-2007
=COUNTIFS(D:D,"Criteria A",E:E,"Criteria A")


"Linar33" wrote:

I am trying to use the Countif function meeting two different criterias in
two different columns but I keep getting an error message. This is the syntax
I am trying to use:

=COUNTIF(D:D,"Criteria A"E:E,"Criteria B")

Please help me.

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
Index & Match functions - multiple criteria and multiple results [email protected] Excel Worksheet Functions 4 May 2nd 07 03:13 AM
Multiple IF functions mpenkala Excel Worksheet Functions 2 April 24th 07 09:10 PM
Multiple functions kjguillermo Excel Worksheet Functions 2 December 7th 06 07:00 AM
Multiple Functions Kevin Excel Worksheet Functions 4 March 14th 05 01:51 AM
Multiple IF functions sonicj Excel Worksheet Functions 3 February 2nd 05 03:31 AM


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