Anyone know if there is averageif type of function similar to sumif? Thanks
D daddylonglegs Apr 27, 2006 #2 There isn't a specific single function but in general if you want the average of B1:B10 when A1:A10 is "xxx" then either =AVERAGE(IF(A1:A10="xxx",B1:B10)) confirmed with CTRL+SHIFT+ENTER or =SUMIF(A1:A10,"xxx",B1:B10)/MAX(1,COUNTIF(A1:A10,"xxx")) which just requires ENTER
There isn't a specific single function but in general if you want the average of B1:B10 when A1:A10 is "xxx" then either =AVERAGE(IF(A1:A10="xxx",B1:B10)) confirmed with CTRL+SHIFT+ENTER or =SUMIF(A1:A10,"xxx",B1:B10)/MAX(1,COUNTIF(A1:A10,"xxx")) which just requires ENTER
P Peo Sjoblom Apr 27, 2006 #5 Also note that next version of excel will have an averageif function -- Regards, Peo Sjoblom http://nwexcelsolutions.com
Also note that next version of excel will have an averageif function -- Regards, Peo Sjoblom http://nwexcelsolutions.com
D daddylonglegs Apr 27, 2006 #6 rudy said: thanks, I am not familiar with the CTRL+SHIFT+ENTER, what does this do? Click to expand... See Chip Pearson's website for an explanation http://www.cpearson.com/excel/array.ht
rudy said: thanks, I am not familiar with the CTRL+SHIFT+ENTER, what does this do? Click to expand... See Chip Pearson's website for an explanation http://www.cpearson.com/excel/array.ht