PC Review


Reply
Thread Tools Rate Thread

Colomn of various dates, count & give % of all under 1 year, etc.

 
 
=?Utf-8?B?U29vSHVudGVy?=
Guest
Posts: n/a
 
      21st Feb 2006
I am trying to work out a formula(s) that, on a daily basis identifies the
number of dates that are within 1 year (or 2 or 3 as desired), total, and
give a percentage overall. Those that do not conform within the time frame
have a conditional formatting to change colour (I can do this).
I am using this for a training qualification chart, to identify dates that
become unqualifed, and require the training again. This is also to assist in
corperate reporting, etc.

 
Reply With Quote
 
 
 
 
SteveG
Guest
Posts: n/a
 
      21st Feb 2006

I think this should do it for you.

=SUMPRODUCT(--(DATEDIF(A1:A5,TODAY(),"y")<1))/COUNT(A1:A5)

A1:A5 is your range of dates.

This counts the number of dates that are less than 1 full year from
today's date and divides it by the total number of dates. Format your
cell as percentage.

Does that help?

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=515033

 
Reply With Quote
 
=?Utf-8?B?U29vSHVudGVy?=
Guest
Posts: n/a
 
      22nd Feb 2006
Thank you SteveG.

This formula certainly gave me foundation to utilize a flexible dating
system. With some experimentation, I went one step farther and used part of
the formula to "count" dates within a certain time frame.
I am not sure how the "y" works in this formula, however the results for:
=SUMPRODUCT(--(DATEDIF(A1:A5,TODAY(),"y")<1))
worked great. I modied the cell varibles to read:
=SUMPRODUCT(--(DATEDIF(L58:L95,TODAY(),"y")<L106))
and changed the "1" (year) for a cell reference (L106) to which I can input
1, 2, 3 (number of years) or 99 (situations were one date is acceptable).

This chart allows me to "date" when an individual completes a qualification
course. In this case, I have all the dates "conditional formated" and change
"RED" when they are "out of date". Problem was my count and percentage would
not reflect the changes. Now, with Steves help, the chart only counts the
dates within the criteria and with an added cell I have it giving the
percentage as well.

Thank you again,
Thomas

"SteveG" wrote:

>
> I think this should do it for you.
>
> /COUNT(A1:A5)
>
> A1:A5 is your range of dates.
>
> This counts the number of dates that are less than 1 full year from
> today's date and divides it by the total number of dates. Format your
> cell as percentage.
>
> Does that help?
>
> Steve
>
>
> --
> SteveG
> ------------------------------------------------------------------------
> SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
> View this thread: http://www.excelforum.com/showthread...hreadid=515033
>
>

 
Reply With Quote
 
SteveG
Guest
Posts: n/a
 
      22nd Feb 2006

Thomas,

Glad I was able to help.

Cheers,

Stev

--
Steve
-----------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...nfo&userid=757
View this thread: http://www.excelforum.com/showthread.php?threadid=51503

 
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
graph by month/year a count of a list of dates Barbara Sabatino Microsoft Excel Charting 1 10th May 2011 01:36 PM
how do I track holiday give aways year to year =?Utf-8?B?UGhpbA==?= Microsoft Outlook Discussion 1 14th Nov 2007 07:09 AM
count no. of dates in a column that falls on certain month & year =?Utf-8?B?UmF3U3VnYXI=?= Microsoft Excel Worksheet Functions 2 20th Oct 2005 10:50 PM
How do I count number of occurrences (dates) in a rolling year? =?Utf-8?B?U2hpcmxleVRS?= Microsoft Excel Programming 1 22nd Jul 2005 06:15 PM
count dates within range by year and month =?Utf-8?B?SXNhaWFoMjU=?= Microsoft Excel Worksheet Functions 10 4th May 2005 10:22 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:53 PM.