Formula Errors

How to Fix Excel MAX and MIN Functions Returning Zero

Camila MilosovichCamila Milosovich Oct 29, 2026 871 views

Question details

The MAX and MIN functions in Excel are returning a result of zero rather than calculating the highest or lowest numeric values within the specified range.

How to Fix Excel MAX and MIN Functions Returning Zero
Product
Excel
Device & OS
not provided
Scenario
Attempting to find the highest or lowest values in a dataset using the standard MAX or MIN functions.
Observed behavior
The formula unexpectedly returns '0' because the numbers referenced in the cells are formatted or stored as text strings, which mathematical functions ignore.
Before you start

Verify that your selected data range actually contains numbers and isn't entirely blank. Additionally, check if the numbers in your cells are aligned to the left side, which is a common indicator that Excel is treating them as text.

Solution 1Recommended

Convert Text to Numbers Using Paste Special Multiply

This method forces Excel to convert text-formatted numbers into actual numeric values by mathematically multiplying them by 1, instantly fixing the MAX and MIN calculation errors.

When numbers are imported from external databases or copied from web pages, they often carry hidden text formatting. Excel's Paste Special feature provides a bulk-conversion method that works flawlessly across large datasets.

1
Copy the number 1

Enter the number 1 in any empty cell formatted as General or Number. Select that cell and press Ctrl+C to copy it.

2
Select the text-formatted numbers

Highlight all the cells containing the numbers that your MAX or MIN formulas are referencing.

3
Apply Paste Special

Right-click the highlighted range and select 'Paste Special' from the context menu.

4
Multiply the values

In the Paste Special dialog box, locate the Operation section, select 'Multiply', and click 'OK'.

Convert Text to Numbers Using Paste Special Multiply
Conversion Successful: The selected cells are now formatted as proper numbers. Your MAX and MIN functions will instantly recalculate and display the correct highest and lowest values.
Seamless Spreadsheet Alternative

Easily Convert Text to Numbers and Calculate Data with WPS Spreadsheet

WPS Spreadsheet provides flawless compatibility with Excel formulas like MAX and MIN. It includes smart error-checking tools that quickly identify and fix numbers stored as text so your calculations are always accurate.

  1. 1. Open your data file in WPS Spreadsheet: Launch WPS Office and open the workbook containing the formula errors.
  2. 2. Select the text-formatted data: Highlight the cells containing the numbers that have green error indicators in the corners.
  3. 3. Convert to numbers automatically: Click the warning icon beside the selection and choose 'Convert to Number'.
  4. 4. Verify your MAX and MIN formulas: Your existing =MAX() and =MIN() functions will automatically update and return the correct numerical results.
100% compatible with Microsoft Excel formulas and number formatsSmart one-click conversion for fixing numbers stored as textLightweight software with an intuitive, familiar interfaceFree to use for daily data analysis and spreadsheet tasks
microsoft office alternative - wps office

Frequently Asked Questions

Why do numbers get stored as text in Excel?

This commonly occurs when data is imported from external sources like CSV files, web pages, or accounting databases. It also happens if a user types an apostrophe (') before a number or if the cell format was set to 'Text' before the numbers were typed.

Can I use a formula to convert text to numbers?

Yes, you can use the VALUE function. Creating a new column and entering a formula like =VALUE(A1) will convert a text string in cell A1 into a numeric value. You can then reference this new column with your MAX or MIN functions.

Do other Excel functions ignore text values like MAX and MIN do?

Yes, many standard mathematical and statistical functions, including SUM and AVERAGE, will ignore numbers stored as text. This is why these formulas might unexpectedly return zero or an artificially low result.

How can I visually identify numbers stored as text?

By default, Excel aligns numbers to the right and text to the left. If your numbers are left-aligned without custom formatting, or if they have a tiny green triangle in the top-left corner, they are likely being treated as text.