(Msg. 1) Posted: Thu Nov 20, 2008 2:19 pm
Post subject: CountIf to determine Date - 3 yrs Archived from groups: microsoft>public>excel>misc (more info?)
Good day,
I have a series of data including a date col. What is the criteria statement
I should use in the CountIf formula to determine the no. of records where the
date is 3 years or more prior to the current date in cell B2?
(Msg. 2) Posted: Thu Nov 20, 2008 2:32 pm
Post subject: RE: CountIf to determine Date - 3 yrs [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
> Good day,
>
> I have a series of data including a date col. What is the criteria statement
> I should use in the CountIf formula to determine the no. of records where the
> date is 3 years or more prior to the current date in cell B2?
>
> Pseudo criteria something like:
> CountIf(DataRangeB:B, <= B2 - 3 yrs)
>
> Thanks in advance,
(Msg. 3) Posted: Thu Nov 20, 2008 3:16 pm
Post subject: RE: CountIf to determine Date - 3 yrs [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
Hi,
Here is a relatively short formula:
=COUNTIF(A1:A11,"<="&EDATE(D1,-36))
-36 means 36 months into the past. This assumes your dates are in A1:A11.
To use it choose Tools, Add-ins, and make sure the Analysis ToolPak has a
check beside it.
If this help, please click the Yes button.
Cheers,
Shane Devenshire
"Brent E" wrote:
> Good day,
>
> I have a series of data including a date col. What is the criteria statement
> I should use in the CountIf formula to determine the no. of records where the
> date is 3 years or more prior to the current date in cell B2?
>
> Pseudo criteria something like:
> CountIf(DataRangeB:B, <= B2 - 3 yrs)
>
> Thanks in advance,
(Msg. 4) Posted: Fri Nov 21, 2008 1:36 am
Post subject: Re: CountIf to determine Date - 3 yrs [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
Hi Brent
=COUNTIF(DataRangeB:B,"<="&TODAY()-1095)
or
=COUNTIF(DataRangeB:B,"<="&B2-1095)
Best rgds
Chris Lav
"Brent E" <BrentE RemoveThis @discussions.microsoft.com> wrote in message
news:DEA2070F-A52D-4641-AD5A-474ABF7365C5@microsoft.com...
> Good day,
>
> I have a series of data including a date col. What is the criteria
> statement
> I should use in the CountIf formula to determine the no. of records where
> the
> date is 3 years or more prior to the current date in cell B2?
>
> Pseudo criteria something like:
> CountIf(DataRangeB:B, <= B2 - 3 yrs)
>
> Thanks in advance,
All times are: Eastern Time (US & Canada) (change)
Page 1 of 1
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum