AVERAGEA(value1 [,value2])

Returns the arithmetic mean of non blank cells in a list, table or cell range (including logical values and text).

value1The first value.
value2(Optional) The second value.

* This function is identical to the AVERAGE function except that logical values and text are included in the denominator.
* This function includes hidden rows.
* Arguments that are numbers are included.
* Arguments that are zero are included.
* Arguments that are dates are included.
* Arguments that evaluate to True are included and 1 is used.
* Arguments that evaluate to False are included and 0 is used.
* Arguments that are text are included and 0 is used.
* If any cell references contain an error, then that error is returned. (Row 15)
* If any cell references are empty, then these are ignored.
* You can have a maximum of 255 arguments.
* You can use the AVERAGEIF function if you want to satisfy one condition.
* You can use the AVERAGEIFS function if you want to satisfy multiple conditions.
* For an illustrated example refer to the page under Central Tendency.
* This is similar to the COUNTA function.
* This is similar to the MAXA function.
* This is similar to the MINA function.
* For the Microsoft documentation refer to support.office.com.

 AB
1=AVERAGEA(2,4) = 35
2=AVERAGEA(5,10,15) = 1010
3=AVERAGEA(5,10,15,0) = 815
4=AVERAGEA(2,3,4,5,6) = 4 
5=AVERAGEA({2,3,4,5,6}) = 40
6=AVERAGEA(B1:B3) = 10text
7=AVERAGEA(B1,B2,B3) = 10FALSE
8=AVERAGEA(B1,B2,B3,B4) = 10=10/0 = #DIV/0!
9=AVERAGEA(B1,B2,B3,B6) = 8 
10=AVERAGEA(B1,B2,B3,B5) = 8 
11=AVERAGEA(1,2,3) = 2 
12=AVERAGEA(1,2,3,TRUE) = 1.8 
13=AVERAGEA(1,2,3,FALSE) = 1.5 
14=AVERAGEA(named_range) = 10 
15=AVERAGEA(B5,B6,B8) = #DIV/0! 
16=AVERAGEA(2,"some text") = #VALUE! 


© 2017 Better Solutions Limited. All Rights Reserved. © 2017 Better Solutions Limited