MAXA(value1, value2)One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.
value1:
The first value or range of values that you want to evaluate for the maximum.
value2:
The second value or range of values that you want to evaluate for the maximum.
The MAXA function in Google Sheets is a useful tool that allows you to find the maximum value in a set of data, including both numbers and text representations of numbers. Unlike the MAX function, which only considers numeric values, MAXA evaluates all values in the specified range, treating text as zero. This makes it particularly handy when you want to analyze a dataset that may contain mixed data types.
In simpler terms, MAXA helps you identify the highest value in a range, regardless of whether the values are numbers or text.
Imagine you are tracking the scores of students in a class, and you have the following data:
| StudentID | Score |
|---|---|
| 1 | 85 |
| 2 | 90 |
| 3 | 78 |
| 4 | "N/A" |
| 5 | 95 |
You want to find the highest score in the class, including the cases where some entries may not be numeric.
To achieve this, you would use the MAXA function as follows:
=MAXA(B2:B6)In this formula:
B2:B6 is the range containing the scores of the students.When you apply the MAXA formula to the Scores Table, the output would be:
| Highest Score |
|---|
| 95 |
In this case, the MAXA function correctly identifies 95 as the highest score, ignoring the "N/A" entry.
MAXA is beneficial because it allows you to include non-numeric entries in your calculations without causing errors. This is particularly useful in datasets where some values may be missing or represented as text. By using MAXA, you can ensure that your analysis remains accurate and comprehensive.
MAXA is an essential function for anyone working with diverse datasets in Google Sheets, providing a straightforward way to enhance data analysis and reporting capabilities.
Happy spreadsheeting!
You have a sales data table where Column A lists sales figures, including numbers and text. Using the MAXA formula, you can quickly find the highest sales figure, ignoring any text entries, ensuring accurate performance analysis for your team.
Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.
Browse our complete library of Google Sheets formula guides
Compare your options
Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.
AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.