Fix an Excel Formula Returning #VALUE! for a Currency Calculation
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.

- 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.
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.
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.
Click the cell containing the current currency formula.
Enter =IF($S$26="$",IFERROR(ROUND(K20*$S$4,2),""),"") in the formula bar and press Enter.
Inspect S26: a dollar sign triggers the calculation, while a pound sign or any other value returns a blank.

Find and correct nonnumeric inputs in K20 and S4
Use these checks when the formula returns an error or an unexpected blank for USD.
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. Open the workbook: Launch WPS Spreadsheets and use Open to select your Excel workbook.
- 2. Check the inputs: In empty cells, enter =ISNUMBER(K20) and =ISNUMBER(S4), then correct any nonnumeric source values.
- 3. Enter the formula: Select the result cell and enter =IF($S$26="$",IFERROR(ROUND(K20*$S$4,2),""),"") in the formula bar.
- 4. Test and save: Check the result for the currency shown in S26, then use File > Save or Save As to save the workbook.

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.




