Formula Errors

How to Fix #VALUE! Error in Excel LARGE and IF ISNUMBER Formulas

Olivia MillerOlivia Miller Nov 2, 2026 870 views

Question details

The user's complex array formula combining LARGE, SMALL, INDEX, IF, and ISNUMBER is returning a #VALUE! error in a specific workbook, even though the formula syntax is correct.

How to Fix #VALUE! Error in Excel LARGE and IF ISNUMBER Formulas
Product
Microsoft Excel
Device & OS
not provided
Scenario
Calculating metrics based on the largest and smallest numeric entries within a row using a nested array formula.
Observed behavior
The formula unexpectedly returns a #VALUE! error instead of the correct calculation, likely due to data inconsistencies, text formatting, or array evaluation issues.
Before you start

Ensure that the referenced cells contain actual numbers and not numbers stored as text, as hidden text values or spaces will disrupt mathematical operations in array formulas.

Solution 1Recommended

Wrap the Formula in IFERROR and Verify Array Execution

Use the IFERROR function to catch missing numeric values and ensure the formula is executed correctly as an array to prevent #VALUE! errors.

In older versions of Excel, complex nested functions that evaluate arrays require special keystrokes to process correctly. Additionally, using IFERROR prevents the entire calculation from breaking if the specified array cannot locate the expected numerical data.

1
Select the error cell

Click on the cell that is currently displaying the #VALUE! error to activate it.

2
Update the formula with IFERROR

Modify the formula in the formula bar to include IFERROR. For example: =IFERROR(INDEX(B7:K7,1,LARGE(IF(ISNUMBER(B7:K7),COLUMN(B7:K7)-COLUMN(B7)+1),1))/INDEX(B7:K7,1,SMALL(IF(ISNUMBER(B7:K7),COLUMN(B7:K7)-COLUMN(B7)+1),1))-1,"")

3
Execute as an array formula

If you are using an older version of Excel (pre-Office 365), press Ctrl + Shift + Enter instead of just Enter. This tells Excel to evaluate the formula as an array, adding curly brackets {} around it.

Wrap the Formula in IFERROR and Verify Array Execution
Dynamic Arrays: If you are using Excel for Microsoft 365, the dynamic array engine handles this automatically without needing Ctrl+Shift+Enter.
Advanced Spreadsheet Tool

Easily Manage Complex Formulas with WPS Spreadsheet

WPS Spreadsheet provides powerful support for complex array formulas, including LARGE, SMALL, and ISNUMBER, ensuring seamless data analysis with an integrated error-checking tool to quickly resolve #VALUE! problems.

  1. 1. Open your workbook: Launch WPS Spreadsheet and open the file displaying the #VALUE! error.
  2. 2. Edit the formula: Double-click the target cell and paste the updated IFERROR formula.
  3. 3. Calculate dynamically: Press Enter to let WPS Spreadsheet's modern calculation engine process the array instantly.
  4. 4. Trace remaining errors: Go to the Formulas tab and click 'Error Checking' to easily identify any remaining text-formatted cells.
Fully compatible with Microsoft Excel formulas (.xlsx files)Dynamic array support for simplified formula calculationIntuitive error tracing to easily locate #VALUE! and data type issuesFree and lightweight office suite for Windows, Mac, and Linux
microsoft office alternative - wps office

Frequently Asked Questions

Why does my Excel array formula return a #VALUE! error?

A #VALUE! error typically occurs when a formula expects a number but encounters text, spaces, or an incompatible data type. In array formulas, it can also happen if the formula wasn't entered with Ctrl+Shift+Enter in older versions of Excel that lack dynamic array support.

Does the ISNUMBER function prevent #VALUE! errors?

ISNUMBER helps identify which cells contain valid numbers. However, if the surrounding mathematical operations (like division or subtraction) attempt to evaluate empty strings or text elements not filtered correctly by the larger array logic, a #VALUE! error can still occur.

How can I convert numbers stored as text to actual numbers in bulk?

Select the affected cells, click the yellow warning sign that appears, and select 'Convert to Number'. Alternatively, you can copy a completely blank cell, select your data range, right-click and choose 'Paste Special', select 'Add', and click OK to force the text into numerical values.