PC Review


Reply
Thread Tools Rate Thread

Count if past today () - 30 days

 
 
Scott_goddard
Guest
Posts: n/a
 
      16th Apr 2010
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
 
Reply With Quote
 
 
 
 
Mike H
Guest
Posts: n/a
 
      16th Apr 2010
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

 
Reply With Quote
 
Scott_goddard
Guest
Posts: n/a
 
      20th Apr 2010
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

 
Reply With Quote
 
Scott_goddard
Guest
Posts: n/a
 
      20th Apr 2010
This is very similar to what i tried....it only returns "Name"

This can not be that hard....

"Dianne" wrote:

>
> Scott_goddard;701223 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

>
>
>
> Scott,
>
> Try this formula
>
> =COUNTIFS(C9:C98,"open",c9:c98,"<"&TODAY()-30) Replace the ranges as
> you need.
>
> Dianne
>
>
> --
> Dianne
> ------------------------------------------------------------------------
> Dianne's Profile: http://www.thecodecage.com/forumz/member.php?u=1755
> View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=196189
>
> http://www.thecodecage.com/forumz
>
> .
>

 
Reply With Quote
 
Scott_goddard
Guest
Posts: n/a
 
      20th Apr 2010
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

 
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
Count No of days past due Mrs H Microsoft Excel Worksheet Functions 4 6th Feb 2009 02:39 PM
Count Days more than 180 days prior to today Gregory Day Microsoft Excel Worksheet Functions 4 28th Mar 2008 10:16 PM
Calculating how many days past in a month from today =?Utf-8?B?QXJ1cCBD?= Microsoft Excel Misc 5 8th Nov 2007 06:59 PM
How do you set up a function (today - a past date)=# of days? =?Utf-8?B?bnVtYmVyIG9mIGRheXM=?= Microsoft Access Database Table Design 1 25th Jul 2006 03:07 PM
count if gone past today =?Utf-8?B?Sm9ubmllUA==?= Microsoft Excel Misc 2 30th Nov 2005 10:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:16 AM.