#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 62
Default countif problem

I am using the below formula and it seems to only be counting the first number.

=COUNTIF('Working
Sheet'!M4:M106,{"2110200110","2110200121","2110200 310","2110220410"})

Am I using the the wrong formula
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default countif problem

Try this:

=SUM(COUNTIF('Working
Sheet'!M4:M106,{"2110200110","2110200121","2110200 310","2110220410"}))


"Scott@CW" wrote:

I am using the below formula and it seems to only be counting the first number.

=COUNTIF('Working
Sheet'!M4:M106,{"2110200110","2110200121","2110200 310","2110220410"})

Am I using the the wrong formula

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default countif problem

Try

=SUM(COUNTIF('Working
Sheet'!M4:M106,{"2110200110","2110200121","2110200 310","2110220410"}))


--


Regards,


Peo Sjoblom



"Scott@CW" wrote in message
...
I am using the below formula and it seems to only be counting the first
number.

=COUNTIF('Working
Sheet'!M4:M106,{"2110200110","2110200121","2110200 310","2110220410"})

Am I using the the wrong formula



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 62
Default countif problem

I got the lovely "#value!" error.

"Teethless mama" wrote:

Try this:

=SUM(COUNTIF('Working
Sheet'!M4:M106,{"2110200110","2110200121","2110200 310","2110220410"}))


"Scott@CW" wrote:

I am using the below formula and it seems to only be counting the first number.

=COUNTIF('Working
Sheet'!M4:M106,{"2110200110","2110200121","2110200 310","2110220410"})

Am I using the the wrong formula

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 62
Default countif problem

wait, i retyped it and it worked! Thank you.

"Teethless mama" wrote:

Try this:

=SUM(COUNTIF('Working
Sheet'!M4:M106,{"2110200110","2110200121","2110200 310","2110220410"}))


"Scott@CW" wrote:

I am using the below formula and it seems to only be counting the first number.

=COUNTIF('Working
Sheet'!M4:M106,{"2110200110","2110200121","2110200 310","2110220410"})

Am I using the the wrong formula



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,091
Default countif problem

COUNTIF works with one criterion. You could use a formula like:
=COUNTIF(WorkingSheet!M4:M106,"2110200110")+COUNTI F(WorkingSheet!M4:M106,"2110200121")+COUNTIF('Work ingSheet'!M4:M106,"2110200310")+COUNTIF('WorkingSh eet'!M4:M106,"2110220410")

"Scott@CW" wrote in message
...
I am using the below formula and it seems to only be counting the first
number.

=COUNTIF('Working
Sheet'!M4:M106,{"2110200110","2110200121","2110200 310","2110220410"})

Am I using the the wrong formula



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default countif problem

See the other 2 answers


--


Regards,


Peo Sjoblom




"Tyro" wrote in message
. ..
COUNTIF works with one criterion. You could use a formula like:
=COUNTIF(WorkingSheet!M4:M106,"2110200110")+COUNTI F(WorkingSheet!M4:M106,"2110200121")+COUNTIF('Work ingSheet'!M4:M106,"2110200310")+COUNTIF('WorkingSh eet'!M4:M106,"2110220410")

"Scott@CW" wrote in message
...
I am using the below formula and it seems to only be counting the first
number.

=COUNTIF('Working
Sheet'!M4:M106,{"2110200110","2110200121","2110200 310","2110220410"})

Am I using the the wrong formula





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
Problem w countif ingeman Excel Discussion (Misc queries) 2 July 17th 06 08:05 AM
COUNTIF problem with NOW() Spreadsheet Excel Worksheet Functions 21 June 26th 06 09:47 PM
Countif Problem Wally Steadman Excel Worksheet Functions 5 June 11th 06 11:58 PM
Countif Problem Mark W Excel Worksheet Functions 2 April 21st 06 08:39 PM
Countif Problem Alicia Excel Worksheet Functions 3 November 4th 04 10:01 AM


All times are GMT +1. The time now is 08:11 AM.

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"