View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Countif error[_2_] Countif error[_2_] is offline
external usenet poster
 
Posts: 3
Default Using Countif with multiple worksheets

Thanks for the help after I rearrange some of the characters, the formula
finally worked. I shorten the worksheet names to simplify the formula.
This is the formula I used
=SUM(COUNTIF(Jan!B4:B10,"Mindset/Intentions"),COUNTIF(Feb!B4:B10,"Mindset/Intentions"),COUNTIF(Mar!B4:B10,"Mindset/Intentions"),COUNTIF(April!B4:B10,"Mindset/Intentions"),COUNTIF(May!B4:B10,"Mindset/Intentions"),COUNTIF(June!B4:B10,"Mindset/Intentions"))

"StumpedAgain" wrote:

Here's a possible workaround:

=SUM(COUNTIF('January 2008'!B4:B10,"Mindset/Intentions"),COUNTIF('February
2008'!B4:B10,"Mindset/Intentions"),COUNTIF('March
2008'!B4:B10,"Mindset/Intentions"),COUNTIF('April
2008'!B4:B10,"Mindset/Intentions"),COUNTIF('May
2008'!B4:B10,"Mindset/Intentions"),COUNTIF('June
2008'!B4:B10,"Mindset/Intentions"),)
--
-SA


"Countif error" wrote:

I am trying to count the occurence of text that appear within a 12 month
rolling report. When i enter the criteria and the range I come up with the
error #REF or #Value. I have tried the SUM(IF('January 2008:June
2008'!$B$4:$B$10,"Mindset/Intentions")) and the countif formula, but I still
receive the same error message