#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 102
Default Countif Problem

Hi Everyone - I am trying to count the number of times Scheduled appears in
various cells so have used formula
=COUNTIF(H2:H11,"Scheduled"+COUNTIF(H76:H83,"Sched uled"+COUNTIF(H49:H50,"Scheduled")))

But this not working and brings back 0 when it should be 4 - should I be
using a different formula?

Many Thanks

Lise
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Countif Problem

You just need to separate each as an individual function like this:

=COUNTIF(H2:H11,"Scheduled")+COUNTIF(H76:H83,"Sche duled")+COUNTIF(H49:H50,"Scheduled")

Better to use a cell to hold the criteria:

A1 = Scheduled

=COUNTIF(H2:H11,A1)+COUNTIF(H76:H83,A1)+COUNTIF(H4 9:H50,A1)

--
Biff
Microsoft Excel MVP


"Lise" wrote in message
...
Hi Everyone - I am trying to count the number of times Scheduled appears
in
various cells so have used formula
=COUNTIF(H2:H11,"Scheduled"+COUNTIF(H76:H83,"Sched uled"+COUNTIF(H49:H50,"Scheduled")))

But this not working and brings back 0 when it should be 4 - should I be
using a different formula?

Many Thanks

Lise



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Countif Problem

hi
try using the address of the first instance of the word sheduled instead of
the word itself and use this format for the formula
=COUNTIF(H2:H11,H4)+COUNTIF(H76:H83,H4)+COUNTIF(H4 9:H50,H4)


regards
FSt1

"Lise" wrote:

Hi Everyone - I am trying to count the number of times Scheduled appears in
various cells so have used formula
=COUNTIF(H2:H11,"Scheduled"+COUNTIF(H76:H83,"Sched uled"+COUNTIF(H49:H50,"Scheduled")))

But this not working and brings back 0 when it should be 4 - should I be
using a different formula?

Many Thanks

Lise

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 102
Default Countif Problem

Thanks to you both - frustration level back to normal :-)
--
Thanks

Lise


"FSt1" wrote:

hi
try using the address of the first instance of the word sheduled instead of
the word itself and use this format for the formula
=COUNTIF(H2:H11,H4)+COUNTIF(H76:H83,H4)+COUNTIF(H4 9:H50,H4)


regards
FSt1

"Lise" wrote:

Hi Everyone - I am trying to count the number of times Scheduled appears in
various cells so have used formula
=COUNTIF(H2:H11,"Scheduled"+COUNTIF(H76:H83,"Sched uled"+COUNTIF(H49:H50,"Scheduled")))

But this not working and brings back 0 when it should be 4 - should I be
using a different formula?

Many Thanks

Lise

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 problem Martin Excel Discussion (Misc queries) 1 March 3rd 08 10:01 AM
COUNTIF problem Phil C Excel Discussion (Misc queries) 4 May 29th 07 04:28 PM
COUNTIF problem with NOW() Spreadsheet Excel Worksheet Functions 21 June 26th 06 09:47 PM
countif problem. psion New Users to Excel 2 October 6th 05 01:21 AM
countif problem SLKPM Excel Worksheet Functions 2 September 29th 05 08:08 PM


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