A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Count if past today () - 30 days



 
 
Thread Tools Display Modes
  #1  
Old April 16th, 2010, 04:16 PM posted to microsoft.public.excel.worksheet.functions
Scott_goddard
external usenet poster
 
Posts: 32
Default Count if past today () - 30 days

Hi all,

Trying to count the amount of risks the are open and and past todays date by
30 days...

So far i have

=COUNTIF(C9:C98,"Open"'(R2) Risks Log'!C9:C98,"="&TODAY() - 7)) but i can
not get this to work
  #2  
Old April 16th, 2010, 05:33 PM posted to microsoft.public.excel.worksheet.functions
Mike H
external usenet poster
 
Posts: 8,419
Default Count if past today () - 30 days

Hi,

Maybe this

=SUMPRODUCT((C9:C98="Open")*('(R2) Risks Log'!C9:C98"")*('(R2) Risks
Log'!C9:C98=TODAY()-30))
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Scott_goddard" wrote:

Hi all,

Trying to count the amount of risks the are open and and past todays date by
30 days...

So far i have

=COUNTIF(C9:C98,"Open"'(R2) Risks Log'!C9:C98,"="&TODAY() - 7)) but i can
not get this to work

  #3  
Old April 20th, 2010, 04:48 PM posted to microsoft.public.excel.worksheet.functions
Scott_goddard
external usenet poster
 
Posts: 32
Default Count if past today () - 30 days

Sorry didnt work....I have to chane it slightly as i think i gave you an
incorrect version...This just returns "Ref" - any other ideas...

=SUMPRODUCT(('(R2) Risks Log'!C9:C98="Open")*('(R2) Risks
Log'!C9:C98"")*('(R2) Risks Log'!C9:C98=TODAY()-30))

"Mike H" wrote:

Hi,

Maybe this

=SUMPRODUCT((C9:C98="Open")*('(R2) Risks Log'!C9:C98"")*('(R2) Risks
Log'!C9:C98=TODAY()-30))
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Scott_goddard" wrote:

Hi all,

Trying to count the amount of risks the are open and and past todays date by
30 days...

So far i have

=COUNTIF(C9:C98,"Open"'(R2) Risks Log'!C9:C98,"="&TODAY() - 7)) but i can
not get this to work

  #4  
Old April 20th, 2010, 04:59 PM posted to microsoft.public.excel.worksheet.functions
Scott_goddard
external usenet poster
 
Posts: 32
Default Count if past today () - 30 days

Mike,

I got it to work...

=SUMPRODUCT(('(R2) Risks Log'!L9:L98="Open")*('(R2) Risks
Log'!C9:C98"")*('(R2) Risks Log'!L9:L98=TODAY()-30))

I think i didnt make it clear that the variables "open" and the "date" were
in different col.....I dont quiet understand how your fourmula works...could
you explain....

"Mike H" wrote:

Hi,

Maybe this

=SUMPRODUCT((C9:C98="Open")*('(R2) Risks Log'!C9:C98"")*('(R2) Risks
Log'!C9:C98=TODAY()-30))
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Scott_goddard" wrote:

Hi all,

Trying to count the amount of risks the are open and and past todays date by
30 days...

So far i have

=COUNTIF(C9:C98,"Open"'(R2) Risks Log'!C9:C98,"="&TODAY() - 7)) but i can
not get this to work

 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.