ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   AVERAGE IF formula and not equal to ZERO (https://www.excelbanter.com/excel-programming/326753-average-if-formula-not-equal-zero.html)

Lori Hornick

AVERAGE IF formula and not equal to ZERO
 
I'm looking for a formula similar to the following....but one that works.

=average(if((a1:a4="jones")+(C1:C4"0"),c1:c4))

Column A represents the sales rep column, C represents the percentage
column. I want the average of the sales rep Jones without including those
cells in C that are blank.

I've tried control shift enter but something must be wrong with my formula
because the zeros are still included.

Thank you
--
Lori

Don Guillett[_4_]

AVERAGE IF formula and not equal to ZERO
 
try this with CSE
=AVERAGE(IF((A1:A4="jones")*(C1:C40),C1:C4))

--
Don Guillett
SalesAid Software

"Lori Hornick" wrote in message
...
I'm looking for a formula similar to the following....but one that works.

=average(if((a1:a4="jones")+(C1:C4"0"),c1:c4))

Column A represents the sales rep column, C represents the percentage
column. I want the average of the sales rep Jones without including those
cells in C that are blank.

I've tried control shift enter but something must be wrong with my formula
because the zeros are still included.

Thank you
--
Lori




Don Guillett[_4_]

AVERAGE IF formula and not equal to ZERO
 
I now see that you also got answers in .misc. PLEASE do not post in more
than ONE group.


--
Don Guillett
SalesAid Software

"Don Guillett" wrote in message
...
try this with CSE
=AVERAGE(IF((A1:A4="jones")*(C1:C40),C1:C4))

--
Don Guillett
SalesAid Software

"Lori Hornick" wrote in message
...
I'm looking for a formula similar to the following....but one that

works.

=average(if((a1:a4="jones")+(C1:C4"0"),c1:c4))

Column A represents the sales rep column, C represents the percentage
column. I want the average of the sales rep Jones without including

those
cells in C that are blank.

I've tried control shift enter but something must be wrong with my

formula
because the zeros are still included.

Thank you
--
Lori







All times are GMT +1. The time now is 02:22 AM.

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