LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
Shirley Munro
 
Posts: n/a
Default How to find the Average of cells containing a value


Hi

I am working on a file which involves calculating what capacity a
machine is working to compared with the target capacity. The machine is
capable of being used to produce a variety of different parts and
therefore somedays will produce only one particular part and on other
days it may be used to produce a variety of different parts. I am
trying to calculate percentage usage of the machine over a 24 hour day
based on Target Figures.

See attached file

Column B contains the part, Column C contains how many of each part was
produced each day, column D contains the number of hours the machine was
used to produce each part, Column E contains the target number of parts
which could be produced over a 24 hours period, Column F calculates the
Actual number of parts which would have been produced over 24 hours and
contains an If statement which is =If(C3=0,0,C3/D3*24). This was done
to stop the #DIV/0 error from appearing when the formula was copied
down cells containing no values.

In Column G I want to calculate the percentage of Actual Target against
the Target by dividing these 2 values. Where there is a 0 value, I get
0% which is fine but when I try to calculate the Daily average for this
column in cell G17, it includes the 0 percentages as well as those with
a percentage value.

Is there away of getting the average function to only include cells
with a value over 0%

Thanks

Shirley Munro


+-------------------------------------------------------------------+
|Filename: ExcelForum.doc |
|Download: http://www.excelforum.com/attachment.php?postid=4342 |
+-------------------------------------------------------------------+

--
Shirley Munro
------------------------------------------------------------------------
Shirley Munro's Profile: http://www.excelforum.com/member.php...nfo&userid=836
View this thread: http://www.excelforum.com/showthread...hreadid=510564

 
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
How to find linked cells anoop Excel Discussion (Misc queries) 1 November 2nd 05 08:26 AM
find a cells from a range of cell kelvintaycc Excel Worksheet Functions 2 April 2nd 05 07:20 PM
How can I have excel search and add multiple cells to find a targe Blakepro Excel Discussion (Misc queries) 1 April 1st 05 02:37 AM
Find cells with ? maryj Excel Discussion (Misc queries) 2 March 4th 05 10:23 PM
Find all cells with a number and mulitply Jim Excel Discussion (Misc queries) 3 January 21st 05 02:28 PM


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