Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Average
Column A1:A10 has a 0 or 1 in each cell, Column B1:B10 has numbers. I want
to be able to select the 0 (zero's) in Column A and AVERAGE only those numbers at right in Column B. I tried AVERAGE(IF(A1:A10=0,B1:B10) but got an average of all the numbers in Column B, not just those at the right of 0. |
#2
|
|||
|
|||
Hi
=SUMIF(A1:A10,0,B1:B10)/COUNTIF(A1:A10,0) Cheers JulieD "Hague2" wrote in message ... Column A1:A10 has a 0 or 1 in each cell, Column B1:B10 has numbers. I want to be able to select the 0 (zero's) in Column A and AVERAGE only those numbers at right in Column B. I tried AVERAGE(IF(A1:A10=0,B1:B10) but got an average of all the numbers in Column B, not just those at the right of 0. |
#3
|
|||
|
|||
Your formula is fine, but must be array entered (Ctrl-Shift-Enter) to work.
Jerry Hague2 wrote: Column A1:A10 has a 0 or 1 in each cell, Column B1:B10 has numbers. I want to be able to select the 0 (zero's) in Column A and AVERAGE only those numbers at right in Column B. I tried AVERAGE(IF(A1:A10=0,B1:B10) but got an average of all the numbers in Column B, not just those at the right of 0. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Using The Average Function if a cell has NA | Excel Worksheet Functions | |||
average on 2 conditions | Excel Worksheet Functions | |||
Average | Excel Worksheet Functions | |||
calculate average hours worked | Excel Worksheet Functions | |||
average, array and offsets | Excel Worksheet Functions |