#1   Report Post  
Lori Hornick
 
Posts: n/a
Default average if 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 represent sales rep column, and I want to see the average sales for
all cells that have data entered in column C.

I've tried the ctrl+shift+enter, but it's still averaging with zeros, so
something is wrong with my formula.

Thank you.




--
Lori
  #2   Report Post  
Bernie Deitrick
 
Posts: n/a
Default

Lori,

=AVERAGE(IF((A1:A4="Jones")*(C1:C40),C1:C4))

Array entered with Ctrl-Shift-Enter.

HTH,
Bernie
MS Excel MVP


"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 represent sales rep column, and I want to see the average sales

for
all cells that have data entered in column C.

I've tried the ctrl+shift+enter, but it's still averaging with zeros, so
something is wrong with my formula.

Thank you.




--
Lori



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
Average the Last Five Cells in a Column Warrior Princess Excel Worksheet Functions 3 March 16th 05 02:12 PM
AVERAGE problems Jon Excel Worksheet Functions 5 February 1st 05 08:21 AM
how do I get AVERAGE to ingore a zero value cell Mikewoodmsw Excel Worksheet Functions 2 January 22nd 05 07:06 PM
how do I get AVERAGE to ingore a zero value cell Mikewoodmsw Excel Worksheet Functions 3 January 22nd 05 06:28 PM
average, array and offsets Darin1979 Excel Worksheet Functions 0 November 17th 04 04:21 PM


All times are GMT +1. The time now is 11:52 AM.

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

About Us

"It's about Microsoft Excel"