PC Review


Reply
Thread Tools Rate Thread

Count previous 30 cells two sheets

 
 
Kevin
Guest
Posts: n/a
 
      21st Apr 2010
I have 5 sheets each one is 1 year. On each sheet in column J I am keeping a
total of how many times “Y” has been placed in column B for the previous 30
days. In J36 Jan 31 2010, I have =COUNTIF(B6:B35,"Y"). That works fine; it
counts the previous 30 days. Row 6 is the top of my page, so in J35 I would
like it to do the same thing but to take 29 previous days from the 2010
B6:B34 and B370 from 2009 sheet. Then for J34 the same thing, but it would
be for the previous 28 days (the first 28days of 2010) and then the last 2
days of 2009 (B369:B370). I have tried the same formula, but it only seems to
allow it to look at one sheet.

I am using office 2007

Thanks

Kevin
 
Reply With Quote
 
 
 
 
Kevin
Guest
Posts: n/a
 
      21st Apr 2010
I figured it out, I used =COUNTIF($B$6:B33,"Y")+COUNTIF('2009'!B369:$B$370,"Y")

"Kevin" wrote:

> I have 5 sheets each one is 1 year. On each sheet in column J I am keeping a
> total of how many times “Y” has been placed in column B for the previous 30
> days. In J36 Jan 31 2010, I have =COUNTIF(B6:B35,"Y"). That works fine; it
> counts the previous 30 days. Row 6 is the top of my page, so in J35 I would
> like it to do the same thing but to take 29 previous days from the 2010
> B6:B34 and B370 from 2009 sheet. Then for J34 the same thing, but it would
> be for the previous 28 days (the first 28days of 2010) and then the last 2
> days of 2009 (B369:B370). I have tried the same formula, but it only seems to
> allow it to look at one sheet.
>
> I am using office 2007
>
> Thanks
>
> Kevin

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
formulae to look at 52 sheets &count if 2 cells have data entered bsnapool Microsoft Excel Misc 1 13th Jul 2006 11:50 AM
formulae to look at 52 sheets &count if 2 cells have data entered bsnapool Microsoft Excel Misc 1 10th Jul 2006 09:42 PM
formulae to look at 52 sheets &count if 2 cells have data entered bsnapool Microsoft Excel Misc 0 10th Jul 2006 03:53 PM
How do I make a 5th sheet to total cells from previous sheets in . =?Utf-8?B?Q2h1Y2stQmFieQ==?= Microsoft Excel Worksheet Functions 2 3rd Mar 2005 01:22 AM
count cells over multiple sheets =?Utf-8?B?SGF2ZSB0aHJlZSBjb2x1bW5zICBSLFMsVA==?= Microsoft Excel Worksheet Functions 4 18th Dec 2004 01:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:32 PM.