M Mike Dobony Aug 29, 2007 #1 I want to average a column where the values of a different column is within a certain range. How do I set this up? Thanks. Mike D.
I want to average a column where the values of a different column is within a certain range. How do I set this up? Thanks. Mike D.
M Max Aug 30, 2007 #2 An example, in say C2, with formula array-entered**: =AVERAGE(IF((A2:A10>=2)*(A2:A10<=10),B2:B10)) returns the average of col B values where col A values are between 2 and 10, inclusive **Press CTRL+SHIFT+ENTER to confirm the formula Adapt the ranges to suit. Ranges must be identically sized.
An example, in say C2, with formula array-entered**: =AVERAGE(IF((A2:A10>=2)*(A2:A10<=10),B2:B10)) returns the average of col B values where col A values are between 2 and 10, inclusive **Press CTRL+SHIFT+ENTER to confirm the formula Adapt the ranges to suit. Ranges must be identically sized.