Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Percentage of Cells completed

I have a workbook that lists dates of training qualifications. The individual
cells use a conditional format for expiration, 30 and 60 days before
expiration. at the bottom of each column I would like to display the
percentage of current up to date training.
The conditinal formatting works and is as follows:

Cond. #1 or = =NOW()=31 No bacground color (training is
not expired)

Cond. #2 Between =NOW()=31 and =NOW()=30 Background
Yellow (30 days to expiration)

Cond. #3 < =NOW() Background Red (training expired)


What I need is at the bottom of the column of dates. I need a formula that
will return the percentage of cells that are current. Can it be done and if
so, how?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 915
Default Percentage of Cells completed

womblew wrote:
I have a workbook that lists dates of training qualifications. The individual
cells use a conditional format for expiration, 30 and 60 days before
expiration. at the bottom of each column I would like to display the
percentage of current up to date training.
The conditinal formatting works and is as follows:

Cond. #1 or = =NOW()=31 No bacground color (training is
not expired)

Cond. #2 Between =NOW()=31 and =NOW()=30 Background
Yellow (30 days to expiration)

Cond. #3 < =NOW() Background Red (training expired)


What I need is at the bottom of the column of dates. I need a formula that
will return the percentage of cells that are current. Can it be done and if
so, how?



Suppose your dates are in B2:B52. Use this formula somewhere convenient:

=COUNTIF(B2:B52,"<"&NOW())/COUNT(B2:B52)

or perhaps more accurate if the date = today:

=COUNTIF(B2:B52,"<"&TODAY())/COUNT(B2:B52)
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Percentage of Cells completed

Did not work. Regardless of the number of cells that were input as current,
the results were 50%. The formula needs to return the percentage of cells in
the specified range that meet the criteria of cond#1.

"smartin" wrote:

womblew wrote:
I have a workbook that lists dates of training qualifications. The individual
cells use a conditional format for expiration, 30 and 60 days before
expiration. at the bottom of each column I would like to display the
percentage of current up to date training.
The conditinal formatting works and is as follows:

Cond. #1 or = =NOW()=31 No bacground color (training is
not expired)

Cond. #2 Between =NOW()=31 and =NOW()=30 Background
Yellow (30 days to expiration)

Cond. #3 < =NOW() Background Red (training expired)


What I need is at the bottom of the column of dates. I need a formula that
will return the percentage of cells that are current. Can it be done and if
so, how?



Suppose your dates are in B2:B52. Use this formula somewhere convenient:

=COUNTIF(B2:B52,"<"&NOW())/COUNT(B2:B52)

or perhaps more accurate if the date = today:

=COUNTIF(B2:B52,"<"&TODAY())/COUNT(B2:B52)

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 915
Default Percentage of Cells completed

Let's talk about that condition:

Cond. #1 or = =NOW()=31

To me this says "exp.date = FALSE", which will always be true. This is
because NOW() will never be 31. Cond. 2 similarly, makes no sense to me.
Is this really what you have in your CF?

I was trying to read into your business requirement, but I probably
didn't get it right.

womblew wrote:
Did not work. Regardless of the number of cells that were input as current,
the results were 50%. The formula needs to return the percentage of cells in
the specified range that meet the criteria of cond#1.

"smartin" wrote:

womblew wrote:
I have a workbook that lists dates of training qualifications. The individual
cells use a conditional format for expiration, 30 and 60 days before
expiration. at the bottom of each column I would like to display the
percentage of current up to date training.
The conditinal formatting works and is as follows:

Cond. #1 or = =NOW()=31 No bacground color (training is
not expired)

Cond. #2 Between =NOW()=31 and =NOW()=30 Background
Yellow (30 days to expiration)

Cond. #3 < =NOW() Background Red (training expired)


What I need is at the bottom of the column of dates. I need a formula that
will return the percentage of cells that are current. Can it be done and if
so, how?


Suppose your dates are in B2:B52. Use this formula somewhere convenient:

=COUNTIF(B2:B52,"<"&NOW())/COUNT(B2:B52)

or perhaps more accurate if the date = today:

=COUNTIF(B2:B52,"<"&TODAY())/COUNT(B2:B52)

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Percentage of Cells completed

I'm sorry, I typed it wrong. This is the correct conditional formatting. The
"=" ater NOW is supposed to be a +. See below.

Cond. #1 or = =NOW()+31 No background color (training is
not expired)

Cond. #2 Between =NOW() and =NOW()+30 Background
Yellow (30 days to expiration)

Cond. #3 < =NOW() Background Red (training expired)


I hope this helps.

"smartin" wrote:

Let's talk about that condition:

Cond. #1 or = =NOW()=31

To me this says "exp.date = FALSE", which will always be true. This is
because NOW() will never be 31. Cond. 2 similarly, makes no sense to me.
Is this really what you have in your CF?

I was trying to read into your business requirement, but I probably
didn't get it right.

womblew wrote:
Did not work. Regardless of the number of cells that were input as current,
the results were 50%. The formula needs to return the percentage of cells in
the specified range that meet the criteria of cond#1.

"smartin" wrote:

womblew wrote:
I have a workbook that lists dates of training qualifications. The individual
cells use a conditional format for expiration, 30 and 60 days before
expiration. at the bottom of each column I would like to display the
percentage of current up to date training.
The conditinal formatting works and is as follows:

Cond. #1 or = =NOW()=31 No bacground color (training is
not expired)

Cond. #2 Between =NOW()=31 and =NOW()=30 Background
Yellow (30 days to expiration)

Cond. #3 < =NOW() Background Red (training expired)


What I need is at the bottom of the column of dates. I need a formula that
will return the percentage of cells that are current. Can it be done and if
so, how?

Suppose your dates are in B2:B52. Use this formula somewhere convenient:

=COUNTIF(B2:B52,"<"&NOW())/COUNT(B2:B52)

or perhaps more accurate if the date = today:

=COUNTIF(B2:B52,"<"&TODAY())/COUNT(B2:B52)




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Percentage of Cells completed

Here is what the column looks like. The blanks are actually red or yellow.
The dates show as clear.

14-Jan-10
26-Jan-10
14-Jan-10



14-Jan-10

14-Jan-10

14-Jan-10
16-Jan-10

14-Jan-10

28-Jan-10

26-Jan-10
14-Jan-10
14-Jan-10

14-Jan-10


14-Jan-10

26-Jan-10
14-Jan-10


14-Jan-10

14-Jan-10

14-Jan-10

"smartin" wrote:

Let's talk about that condition:

Cond. #1 or = =NOW()=31

To me this says "exp.date = FALSE", which will always be true. This is
because NOW() will never be 31. Cond. 2 similarly, makes no sense to me.
Is this really what you have in your CF?

I was trying to read into your business requirement, but I probably
didn't get it right.

womblew wrote:
Did not work. Regardless of the number of cells that were input as current,
the results were 50%. The formula needs to return the percentage of cells in
the specified range that meet the criteria of cond#1.

"smartin" wrote:

womblew wrote:
I have a workbook that lists dates of training qualifications. The individual
cells use a conditional format for expiration, 30 and 60 days before
expiration. at the bottom of each column I would like to display the
percentage of current up to date training.
The conditinal formatting works and is as follows:

Cond. #1 or = =NOW()=31 No bacground color (training is
not expired)

Cond. #2 Between =NOW()=31 and =NOW()=30 Background
Yellow (30 days to expiration)

Cond. #3 < =NOW() Background Red (training expired)


What I need is at the bottom of the column of dates. I need a formula that
will return the percentage of cells that are current. Can it be done and if
so, how?

Suppose your dates are in B2:B52. Use this formula somewhere convenient:

=COUNTIF(B2:B52,"<"&NOW())/COUNT(B2:B52)

or perhaps more accurate if the date = today:

=COUNTIF(B2:B52,"<"&TODAY())/COUNT(B2:B52)


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Percentage of deviance..two cells! GD Excel Discussion (Misc queries) 3 October 3rd 08 01:47 PM
how do I get the percentage of a group of cells cancir Excel Worksheet Functions 1 August 20th 08 08:37 PM
percentage completed and colors Junior Excel Worksheet Functions 1 November 1st 06 02:31 PM
Want a number of cells to be auto completed based on entry in one. matt ashley Excel Worksheet Functions 1 April 14th 05 10:07 PM
Percentage of filled cells Carla Bradley Excel Worksheet Functions 1 January 7th 05 05:31 PM


All times are GMT +1. The time now is 01:21 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"