Fix Excel #VALUE! When Multiplying a Formula Result
Question details
The user needs to multiply the result of an Excel formula by another value without getting a #VALUE! error.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A formula containing multiple IF and VLOOKUP functions works for some inputs, but its result must be multiplied by another value.
- Observed behavior
- The multiplication returns #VALUE! for some inputs, and ISNUMBER tests return FALSE for both the formula result and the multiplier.
Identify the cell containing the formula result and the cell containing the multiplier. The examples below use A2 and B2; replace those references with your actual cells.
Test and convert the values used in multiplication
Use this approach when the formula result or multiplier may be text or contain imported spaces or nonprinting characters.
In empty cells, enter =ISNUMBER(A2) and =ISNUMBER(B2). FALSE means the corresponding cell is not currently a numeric value.
In C2, enter =VALUE(TRIM(CLEAN(SUBSTITUTE(A2,CHAR(160)," ")))). This replaces nonbreaking spaces, removes common nonprinting characters and converts numeric text to a number.
In D2, enter =VALUE(TRIM(CLEAN(SUBSTITUTE(B2,CHAR(160)," ")))). If B2 is already numeric, you can reference it directly instead.
In an empty cell, enter =C2*D2. You can also test C2 and D2 with ISNUMBER to confirm that both conversions succeeded.
Correct text returned by IF or VLOOKUP
Use this approach when the original formula returns text for certain inputs instead of a number.
Check and convert spreadsheet values in WPS Office
Open the workbook in WPS Spreadsheets to test whether the formula result and multiplier are numeric, clean text values, and retry the calculation.
- 1. Open the workbook: Open WPS Spreadsheets and use Open to select the Excel workbook.
- 2. Test the values: In empty cells, enter =ISNUMBER(A2) and =ISNUMBER(B2), replacing the references with the formula-result and multiplier cells.
- 3. Convert numeric text: In C2, enter =VALUE(TRIM(CLEAN(SUBSTITUTE(A2,CHAR(160)," ")))). Repeat for B2 in D2 if the multiplier is also text.
- 4. Retry the multiplication: Enter =C2*D2 in an empty cell and check the result. If a conversion fails, inspect the source value for unexpected characters or number separators.

Frequently Asked Questions
Why does ISNUMBER return FALSE for a value that looks like a number?
The value may be stored as text or include spaces or nonprinting characters. Test the cell with =ISNUMBER(A2), then try converting numeric text with VALUE after cleaning it.
Can an IF formula return text instead of a number?
Yes. For example, an IF branch that returns "0" returns text, while 0 without quotation marks is numeric. Select the formula cell and inspect each branch in the formula bar.
Why does VALUE still return an error after cleaning the cell?
The text may contain characters that TRIM and CLEAN do not remove, or its decimal and thousands separators may not match Excel's regional settings. Inspect the source value and correct its characters or separators.
How can I check whether VLOOKUP is returning numeric text?
Test the lookup result with =ISNUMBER(A2), or test a cell in the lookup's return column. If the result is FALSE and the value is numeric text, convert the source value or use VALUE on the lookup result.




