The Excel MAXA function returns the largest value from a supplied set of numeric values, while counting text and the logical value FALSE as the value 0 and counting the logical value TRUE as the value 1.
The syntax of the function is:
where the number arguments are one or more numeric values (or arrays of numeric values), that you want to return the largest value of.
In current versions of Excel (Excel 2007 & later), you can provide up to 255 number arguments to the Maxa function, but in Excel 2003, the function can only accept up to 30 number arguments.
In cell B1 of the following spreadsheet, the Excel Maxa function has been used to retrieve the largest value from the set of values in cells A1-A5.
In cell B1 of the following spreadsheet, the Excel Maxa function has been used to retrieve the largest value from the set of values in cells A1-A3.
Further examples of the Excel Maxa function can be found on the Microsoft Office website.
If you get an error from the Excel Maxa Function, this is likely to be the #VALUE! error:
|#VALUE!||-||Occurs if any values that are supplied directly to the Maxa function are non-numeric.|