AVERAGEA takes multiple arguments in the form of value1, value2, value3, etc. up to 255 total. Arguments can include numbers, cell references, ranges, arrays, and constants. Empty cells are ignored, but zero (0) values are included.
Examples
To average values in the range A1:A10, including logical the logical values TRUE (1) and FALSE (0) and numbers entered as text, use AVERAGEA like this: One confusing aspect of the AVERAGE function compared to the AVERAGEA function is that both functions will evaluate logicals and numbers entered as text when they are hardcoded as constants in a formula: However, the AVERAGE function will ignore logicals or numbers entered as text when they appear in cell references. You can see this behavior in the worksheet example shown above.
Notes
Values can be supplied as numbers, ranges, named ranges, or cell references that contain values. Up to 255 arguments can be supplied. To calculate the average, Excel adds the numeric value of each value together and divides by the total number of values supplied. AVERAGEA evaluates TRUE as 1 and FALSE as zero.
Dave Bruns
Hi - I’m Dave Bruns, and I run Exceljet with my wife, Lisa. Our goal is to help you work faster in Excel. We create short videos, and clear examples of formulas, functions, pivot tables, conditional formatting, and charts.