Using Countif with multiple worksheets

C

Countif error

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
 
S

StumpedAgain

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"),)
 
C

Countif error

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"))
 
C

Countif error

I tired the formula again but I reaaranged and took our some of the
characters. 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"))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top