# MAXA

## Content

This function returns the largest value in a list of arguments, including text and logical values.

## Syntax

`MAXA(value1, value2, ...)`

`MAXA(array)`

`MAXA(array1, array2, ...)`

## Arguments

Each argument can be a double-precision floating point value, an integer value, text, or logical values. Up to 255 arguments may be included. You can use a single array (cell range) instead of a list of values. You can use multiple arrays (cell ranges) as well.

## Remarks

This function differs from [MAX](/spreadjs/docs/v16/formulareference/FormulaFunctions/statistical-functions/MAX) because it allows text and logical values as well as numeric values.

## Data Types

Accepts numeric, text, or logical data for all arguments. Returns numeric data.

## Examples

`MAXA(A1,B2,C3,D4,E5)`

`MAXA(A1:A9)`

`MAXA(R1C2:R1C15,R2C2:R2C15)`

`MAXA(2,15,12,3,7,19,4)` gives the result 19