AVERAGEA 
AVERAGEA(value1 [,value2] [..]) 
Returns the arithmetic mean of non blank cells in a list, table or cell range (including logical values and text). 
value1  The first value. 
value2  (Optional) The second value. 
REMARKS 
* This function is identical to the AVERAGE function except that logical values and text are included. * This function includes hidden cells. * Arguments that are numbers are included. * Arguments that are zero are included. * Arguments that are dates are included and the date serial number will be used. (Row 12) * Arguments that are cell references to cells containing logical values are included. (Row 11) * Arguments that are arrays containing logical values are included. (Row 20) * Arguments that are just logical values are included. (Row 19) * 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 cell references to cells containing text are included and 1 is used. (Row 10) * Arguments that are arrays containing text are included. (Row 17) * Arguments that are just text will generate an error. (Row 16) * If any cell references are empty, then these are excluded. (Row 8) * If any cell references contain an error, then that error is returned. (Row 15) * You can have a maximum of 255 arguments. * You can use the AVERAGEAVISIBLE  User Defined Function to exclude hidden cells. * This is similar to the COUNTA, MAXA and MINA functions. * For the Microsoft documentation refer to support.microsoft.com * For the Google documentation refer to support.google.com 

1  What is the average (or arithmetic mean) of 2 and 4. 6 divided by 2. 2  What is the average of 5, 10 and 15. 30 divided by 3. 3  What is the average of 5, 10, 15 and 0. Zeros are always included. 30 divided by 4. 4  What is the average of 2, 3, 4, 5 and 6. 10 divided by 5. 5  What is the average of 2, 3, 4, 5 and 6 passed in as an array. 10 divided by 5. 6  What is the average of the values in the range "B1:B3". 30 divided by 3. 7  What is the average of the values in the range "B1", "B2" and "B3". 30 divided by 3. 8  What is the average of the values in the range "B1", "B2", "B3" and "B4". B4 is empty. Empty cells are always excluded. 30 divided by 3. 9  What is the average of the values in the range "B1", "B2", "B3" and "B5". B5 is zero so this gets included. 30 divided by 4. 10  What is the average of the values in the range "B1", "B2", "B3" and "B6". B6 is text so this gets included. 30 divided by 3. 11  What is the average of the values in the range "B1", "B2", "B3" and "B8". B8 is a logical value so this gets included. 30 divided by 3. 12  What is the average of the values in the range "B1", "B2", "B3" and "B7". B7 is a date so this gets included as a date serial number. 13  What is the average of the values in the named range that refers to the range "B1:B3". 30 divided by 3. 14  What is the average of the values in the range "B5", "B6" and "B9". B9 contains an error so that gets returned. 15  What is the average of the values 2 and "2". The text representation of a number is excluded. 2 divided by 1. 16  What is the average of the values 2 and "some text". The text generates an error. 17  What is the average of the values 2 and "some text" passed in as an array. The text gets included. 2 divided by 2. 18  What is the average of the values 2 and the logical value True. TRUE is replaced with 1 so the logical value gets included. 7 divided by 4. 19  What is the average of the values 2 and the logical value False. FALSE is replaced with 0 so the logical value gets included. 6 divided by 4. 20  What is the average of the values 2 and the logical value False passed in as an array. The logical value is excluded. 2 divided by 1. 
© 2022 Better Solutions Limited. All Rights Reserved. © 2022 Better Solutions Limited Top