#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default CountIf

I'm hoping someone can give me a little guidance.

I a spreadsheet with several columns, 2 of which are of interest (B and E)

I need to count the number of time there are 'B' in column E for which
column B's value = 'Open' and this base on the total number of values in the
table (variable region).

I started using =COUNTIF(Donnees!E2:E90,"B") but can't seem to get it to
work with the double criteria it must = B and the value in column B = "Open"

Thank you

QB
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,047
Default CountIf

=sumproduct(--(22:e90="B")*(b2:b90="Open"))

hth
--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"Question Boy" escreveu:

I'm hoping someone can give me a little guidance.

I a spreadsheet with several columns, 2 of which are of interest (B and E)

I need to count the number of time there are 'B' in column E for which
column B's value = 'Open' and this base on the total number of values in the
table (variable region).

I started using =COUNTIF(Donnees!E2:E90,"B") but can't seem to get it to
work with the double criteria it must = B and the value in column B = "Open"

Thank you

QB

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default CountIf

Try this:

=SUMPRODUCT(--(Donnees!B2:B90="open"),--(Donnees!E2:E90="B"))


--
Biff
Microsoft Excel MVP


"Question Boy" wrote in message
...
I'm hoping someone can give me a little guidance.

I a spreadsheet with several columns, 2 of which are of interest (B and E)

I need to count the number of time there are 'B' in column E for which
column B's value = 'Open' and this base on the total number of values in
the
table (variable region).

I started using =COUNTIF(Donnees!E2:E90,"B") but can't seem to get it to
work with the double criteria it must = B and the value in column B =
"Open"

Thank you

QB



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,047
Default CountIf

sorry for the typo mistake

sumproduct(--(e22:e90="B")*(b2:b90="Open))


--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"Marcelo" escreveu:

=sumproduct(--(22:e90="B")*(b2:b90="Open"))

hth
--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"Question Boy" escreveu:

I'm hoping someone can give me a little guidance.

I a spreadsheet with several columns, 2 of which are of interest (B and E)

I need to count the number of time there are 'B' in column E for which
column B's value = 'Open' and this base on the total number of values in the
table (variable region).

I started using =COUNTIF(Donnees!E2:E90,"B") but can't seem to get it to
work with the double criteria it must = B and the value in column B = "Open"

Thank you

QB

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
Countif? Helen Excel Worksheet Functions 4 March 8th 07 04:59 AM
How do I use a countif function according to two other countif fu. Kirsty Excel Worksheet Functions 2 February 20th 06 11:44 AM
edit this =COUNTIF(A1:F16,"*1-2*")+COUNTIF(A1:F16,"*2-1*") sctroy Excel Discussion (Misc queries) 2 September 25th 05 04:13 AM
COUNTIF or not to COUNTIF on a range in another sheet Ellie Excel Worksheet Functions 4 September 15th 05 10:06 PM
COUNTIF in one colum then COUNTIF in another...??? JonnieP Excel Worksheet Functions 3 February 22nd 05 02:55 PM


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