Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
How about a helper column? AVERAGE() will process zeros, but it ignores
blanks. So in Z1 put =IF(B1=0,"",B1) and copy down. If B has a value, then so will Z. If B has a zero, then Z will have a blank. Then average using Z -- Gary's Student "Alex" wrote: Hello everyone, I was wondering if there was a way of excluding Zeros from averages. I have tried IF and AND but have not been able to get it to work correctly. I want to be able to fist find column b, then get an average by group where value in F is not Zero. This is what I have (it's working, but I cant seem to be able to count only if value < 0, using a countif) =(SUMIF(B18:B65536,B8,F18:F72))/COUNTIF(B18:B65536,B8) Sample data: B C E F G H Online Sales 329 138 1 150 1 Location Sales 999 18 2 130 1 Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Countif cell greater than average | Excel Worksheet Functions | |||
Average, Excluding Zeros, Non-Consecutive Range | Excel Discussion (Misc queries) | |||
problems with sumif and countif | Excel Discussion (Misc queries) | |||
Average non continguous cells, excluding zero's | Excel Worksheet Functions | |||
EXcluding Zeros from the average in a row | Excel Discussion (Misc queries) |