Formula Errors

Fix an Excel Formula Returning #VALUE! for a Currency Calculation

Amos GikundaAmos Gikunda Nov 27, 2026 869 views

Question details

The user needs a currency-dependent Excel formula to calculate a value without returning #VALUE! when an input is text or an empty string.

Fix an Excel Formula Returning #VALUE! for a Currency Calculation
Product
Microsoft Excel
Device & OS
not provided
Scenario
Calculate a rounded amount when S26 displays a dollar sign, and show nothing when the currency is sterling.
Observed behavior
The multiplication can return #VALUE! because K20 or S4 is not numeric. K20 contains a formula that returns an empty string when its calculation encounters an error.
Before you start

Check which amount should be converted: K20 contains the result of J20 multiplied by I20, while using J20 directly skips that calculation. Confirm that S4 contains the exchange rate and S26 displays the expected currency symbol.

Solution 1Recommended

Use IFERROR to handle the currency calculation

Use this formula to show a rounded result for USD and a blank when the calculation encounters an error or the currency is not USD.

1
Select the result cell

Click the cell containing the current currency formula.

2
Replace the formula

Enter =IF($S$26="$",IFERROR(ROUND(K20*$S$4,2),""),"") in the formula bar and press Enter.

3
Check the currency condition

Inspect S26: a dollar sign triggers the calculation, while a pound sign or any other value returns a blank.

Use IFERROR to handle the currency calculation
A blank can hide an error: IFERROR hides calculation errors rather than correcting their source. If USD unexpectedly produces a blank, check K20 and S4 using the diagnostic steps below.
Calculate in WPS Spreadsheets

Fix the Currency Calculation in WPS Spreadsheets

Open your workbook in WPS Spreadsheets, check the input cells, and use IFERROR to show a blank when the currency calculation cannot be completed.

  1. 1. Open the workbook: Launch WPS Spreadsheets and use Open to select your Excel workbook.
  2. 2. Check the inputs: In empty cells, enter =ISNUMBER(K20) and =ISNUMBER(S4), then correct any nonnumeric source values.
  3. 3. Enter the formula: Select the result cell and enter =IF($S$26="$",IFERROR(ROUND(K20*$S$4,2),""),"") in the formula bar.
  4. 4. Test and save: Check the result for the currency shown in S26, then use File > Save or Save As to save the workbook.
Check currency inputs with ISNUMBER and handle formula errors with IFERRORCompatible with Microsoft Excel XLSX and XLS filesFamiliar spreadsheet interface for editing formulasFree to download and use
microsoft office alternative - wps office

Frequently Asked Questions

Why does ISNUMBER(K20) return FALSE when K20 contains a formula?

ISNUMBER checks the formula's result, not whether the cell contains a formula. K20's ISERROR formula returns an empty string if J20*I20 encounters an error, and an empty string is not a number.

Does IFERROR fix the underlying #VALUE! error?

No. IFERROR can display a blank instead of the error. Use =ISNUMBER(K20) and =ISNUMBER(S4), then inspect the source cells or formulas to correct the cause.

Why is SUM unnecessary in the original formula?

ROUND(K20*$S$4,2) already produces the single calculated value. SUM is not needed to add that one expression, so it can be removed.

How can I calculate from J20 instead of K20?

If J20 is the intended amount, replace K20 in the result formula with J20: =IF($S$26="$",IFERROR(ROUND(J20*$S$4,2),""),""). This skips K20's J20*I20 calculation.

What happens when S26 contains a pound sign?

The condition $S$26="$" is FALSE, so the formula returns an empty string and the result cell appears blank.