ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   Production Yields (https://www.excelbanter.com/new-users-excel/190897-production-yields.html)

HW

Production Yields
 
ItemA ItemB ItemC
date1 34% 0% 91%
date2 0% 0% 12%
date3 100% 80% 90%

These are the percentage of how effective the production was for the day.
However, 0% does not mean not effective. It means no production was made on
that item. How do I average the production for the day, without it counting
the zeros?
Currently using:
=SUM(DX36:EI36)/(COUNTIF(DX36:EI36,"<0"))

Gary''s Student

Production Yields
 
If there is no production on a given day, then leave the cell blank rather
than enter 0%. AVERAGE() ignores blanks
--
Gary''s Student - gsnu200791


"HW" wrote:

ItemA ItemB ItemC
date1 34% 0% 91%
date2 0% 0% 12%
date3 100% 80% 90%

These are the percentage of how effective the production was for the day.
However, 0% does not mean not effective. It means no production was made on
that item. How do I average the production for the day, without it counting
the zeros?
Currently using:
=SUM(DX36:EI36)/(COUNTIF(DX36:EI36,"<0"))


Max

Production Yields
 
Assuming the data is in cols B to D,
you could try something like this in E2,
array-entered (press CTRL+SHIFT+ENTER):
=AVERAGE(IF(B2:D20,B2:D2))
Copy E2 down
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"HW" wrote:
ItemA ItemB ItemC
date1 34% 0% 91%
date2 0% 0% 12%
date3 100% 80% 90%

These are the percentage of how effective the production was for the day.
However, 0% does not mean not effective. It means no production was made on
that item. How do I average the production for the day, without it counting
the zeros?
Currently using:
=SUM(DX36:EI36)/(COUNTIF(DX36:EI36,"<0"))



All times are GMT +1. The time now is 10:53 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com