#1   Report Post  
danlinksman
 
Posts: n/a
Default Formula question

I have a spreadsheet that list a planned completion date and then has an
actual completion date. I have a formula that places a Y or N depending if
production met the contractual due out date or not. What I want to do is
calculate my % effective based on the "Yes" and "No" criteria. Is there a
way?
  #2   Report Post  
Rowan
 
Posts: n/a
Default

Assuming your Y and N results are in the range H2 to H21 then one formula is:

=COUNTIF($H$2:$H$21,"Y")/COUNTA($H$2:$H$21)

Format as percentage.

Regards
Rowan

"danlinksman" wrote:

I have a spreadsheet that list a planned completion date and then has an
actual completion date. I have a formula that places a Y or N depending if
production met the contractual due out date or not. What I want to do is
calculate my % effective based on the "Yes" and "No" criteria. Is there a
way?

  #3   Report Post  
danlinksman
 
Posts: n/a
Default

Outstanding.... It works perfect.

Thanks so much

"danlinksman" wrote:

I have a spreadsheet that list a planned completion date and then has an
actual completion date. I have a formula that places a Y or N depending if
production met the contractual due out date or not. What I want to do is
calculate my % effective based on the "Yes" and "No" criteria. Is there a
way?

  #4   Report Post  
Rowan
 
Posts: n/a
Default

You're welcome.

"danlinksman" wrote:

Outstanding.... It works perfect.

Thanks so much

"danlinksman" wrote:

I have a spreadsheet that list a planned completion date and then has an
actual completion date. I have a formula that places a Y or N depending if
production met the contractual due out date or not. What I want to do is
calculate my % effective based on the "Yes" and "No" criteria. Is there a
way?

  #5   Report Post  
danlinksman
 
Posts: n/a
Default

Sorry, one other question if you have time. How do I adjust for no
information in cells. Example H1..H21 is involved in the formula however I
have no data in H13..H21 and it is affecting the % effective. How can I get
the formula to ignore blank cells?

"danlinksman" wrote:

Outstanding.... It works perfect.

Thanks so much

"danlinksman" wrote:

I have a spreadsheet that list a planned completion date and then has an
actual completion date. I have a formula that places a Y or N depending if
production met the contractual due out date or not. What I want to do is
calculate my % effective based on the "Yes" and "No" criteria. Is there a
way?



  #6   Report Post  
Rowan
 
Posts: n/a
Default

CountA will not count blank cells but will count cells which have a formula
returning "".
One way around this I suppose would be:
=COUNTIF(H1:H21,"Y")/(COUNTIF(H1:H21,"Y")+COUNTIF(H1:H21,"N"))

Hope this helps
Rowan

"danlinksman" wrote:

Sorry, one other question if you have time. How do I adjust for no
information in cells. Example H1..H21 is involved in the formula however I
have no data in H13..H21 and it is affecting the % effective. How can I get
the formula to ignore blank cells?

"danlinksman" wrote:

Outstanding.... It works perfect.

Thanks so much

"danlinksman" wrote:

I have a spreadsheet that list a planned completion date and then has an
actual completion date. I have a formula that places a Y or N depending if
production met the contractual due out date or not. What I want to do is
calculate my % effective based on the "Yes" and "No" criteria. Is there a
way?

  #7   Report Post  
RagDyer
 
Posts: n/a
Default

You could try this:

=COUNTIF(H1:H21,"Y")/COUNTIF(H1:H21,"?")

And format as %
--
HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================



"Rowan" wrote in message
...
CountA will not count blank cells but will count cells which have a

formula
returning "".
One way around this I suppose would be:
=COUNTIF(H1:H21,"Y")/(COUNTIF(H1:H21,"Y")+COUNTIF(H1:H21,"N"))

Hope this helps
Rowan

"danlinksman" wrote:

Sorry, one other question if you have time. How do I adjust for no
information in cells. Example H1..H21 is involved in the formula

however I
have no data in H13..H21 and it is affecting the % effective. How can I

get
the formula to ignore blank cells?

"danlinksman" wrote:

Outstanding.... It works perfect.

Thanks so much

"danlinksman" wrote:

I have a spreadsheet that list a planned completion date and then

has an
actual completion date. I have a formula that places a Y or N

depending if
production met the contractual due out date or not. What I want to

do is
calculate my % effective based on the "Yes" and "No" criteria. Is

there a
way?


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
Formula question Jeffrey Excel Discussion (Misc queries) 2 July 1st 05 06:57 PM
One formula on multiple workbooks question Josh M Excel Discussion (Misc queries) 1 May 24th 05 03:17 AM
time formula question... Greg Excel Discussion (Misc queries) 5 February 25th 05 10:11 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM
formula Question danlinksman Excel Discussion (Misc queries) 3 January 25th 05 02:07 PM


All times are GMT +1. The time now is 01:25 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"