Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 53
Default Countif with 3 different options

Hi everyone,

What's the syntax for adding 3 different criteria to a countif function
please? =COUNTIF(dumpers'!$E:$E,"3c-")

Dumpers can be assigned 1-10 but also 3 levels a-c within this

TIA
--
Smudge
  #2   Report Post  
Posted to microsoft.public.excel.misc
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Countif with 3 different options

I am not sure what you want but maybe
=countif(dumpers!$E:$E,"3c-")+countif(dumpers!$E:$E,"3b-")+countif(dumpers!$E:$E,"3a-")

or

=sum(if(or(dumpers!$E:$E={"3c-"."3b-","3a-}),1,0))
entered as an array control-shift-enter

you cant have multiple criteria in one countif.


"Smudge" wrote:

Hi everyone,

What's the syntax for adding 3 different criteria to a countif function
please? =COUNTIF(dumpers'!$E:$E,"3c-")

Dumpers can be assigned 1-10 but also 3 levels a-c within this

TIA
--
Smudge

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default Countif with 3 different options

Perhaps this?

=SUM(COUNTIF(dumpers'!$E:$E,{"3a-","3b-","3c-"}))

Does that help?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)



"Smudge" wrote in message
...
Hi everyone,

What's the syntax for adding 3 different criteria to a countif function
please? =COUNTIF(dumpers'!$E:$E,"3c-")

Dumpers can be assigned 1-10 but also 3 levels a-c within this

TIA
--
Smudge



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Countif with 3 different options

=COUNTIF(dumpers!$E:$E,"3a-")+COUNTIF(dumpers!$E:$E,"3b-")+COUNTIF(dumpers!$E:$E,"3c-")
?
--
David Biddulph

"Smudge" wrote in message
...
Hi everyone,

What's the syntax for adding 3 different criteria to a countif function
please? =COUNTIF(dumpers'!$E:$E,"3c-")

Dumpers can be assigned 1-10 but also 3 levels a-c within this

TIA
--
Smudge



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 53
Default Countif with 3 different options

Thanks Ron,

this is the one I have used even though all the other answers seem to work
Cheers
--
Smudge


"Ron Coderre" wrote:

Perhaps this?

=SUM(COUNTIF(dumpers'!$E:$E,{"3a-","3b-","3c-"}))

Does that help?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)



"Smudge" wrote in message
...
Hi everyone,

What's the syntax for adding 3 different criteria to a countif function
please? =COUNTIF(dumpers'!$E:$E,"3c-")

Dumpers can be assigned 1-10 but also 3 levels a-c within this

TIA
--
Smudge






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 53
Default Countif with 3 different options

Thanks bj
--
Smudge


"bj" wrote:

I am not sure what you want but maybe
=countif(dumpers!$E:$E,"3c-")+countif(dumpers!$E:$E,"3b-")+countif(dumpers!$E:$E,"3a-")

or

=sum(if(or(dumpers!$E:$E={"3c-"."3b-","3a-}),1,0))
entered as an array control-shift-enter

you cant have multiple criteria in one countif.


"Smudge" wrote:

Hi everyone,

What's the syntax for adding 3 different criteria to a countif function
please? =COUNTIF(dumpers'!$E:$E,"3c-")

Dumpers can be assigned 1-10 but also 3 levels a-c within this

TIA
--
Smudge

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 53
Default Countif with 3 different options

Thank you David
--
Smudge


"David Biddulph" wrote:

=COUNTIF(dumpers!$E:$E,"3a-")+COUNTIF(dumpers!$E:$E,"3b-")+COUNTIF(dumpers!$E:$E,"3c-")
?
--
David Biddulph

"Smudge" wrote in message
...
Hi everyone,

What's the syntax for adding 3 different criteria to a countif function
please? =COUNTIF(dumpers'!$E:$E,"3c-")

Dumpers can be assigned 1-10 but also 3 levels a-c within this

TIA
--
Smudge




  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default Countif with 3 different options

I'm glad I could help........Thanks for the feedback.

Regards,

Ron
Microsoft MVP (Excel)

(XL2003, Win XP)

"Smudge" wrote in message
...
Thanks Ron,

this is the one I have used even though all the other answers seem to work
Cheers
--
Smudge


"Ron Coderre" wrote:

Perhaps this?

=SUM(COUNTIF(dumpers'!$E:$E,{"3a-","3b-","3c-"}))

Does that help?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)



"Smudge" wrote in message
...
Hi everyone,

What's the syntax for adding 3 different criteria to a countif function
please? =COUNTIF(dumpers'!$E:$E,"3c-")

Dumpers can be assigned 1-10 but also 3 levels a-c within this

TIA
--
Smudge






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
how do I add more toolbar options to my right click options Rosie Excel Discussion (Misc queries) 1 August 11th 06 04:52 PM
Options Access Front End Excel Discussion (Misc queries) 1 November 22nd 05 01:41 PM
Web Options? nastech Excel Discussion (Misc queries) 0 November 16th 05 05:13 PM
COUNTIF or not to COUNTIF on a range in another sheet Ellie Excel Worksheet Functions 4 September 15th 05 10:06 PM
what are my options? tysonstone Excel Discussion (Misc queries) 3 January 23rd 05 12:13 AM


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