How to Extract Dollar Values from Text Using Excel Formulas
Question details
The user needs a formula to extract dynamic dollar amounts (ranging from zero to $100,000,000) from text containing revenue lines or specific product names.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Extracting specific currency values from text strings containing multiple revenue lines or product descriptions to perform calculations.
- Observed behavior
- The user wants to isolate the numeric dollar value from a text string and format it as a valid number, handling variable lengths and multi-line cell formats.
Ensure your data is structured predictably. Identify whether each revenue line is in its own cell or if multiple lines are combined within a single cell, as this determines which formula approach you should use.
Extract Dollar Values from Separate Cells Using LET and MID
Use this method when each text string containing a dollar amount is stored in its own individual cell.
This approach uses the FIND function to locate the dollar sign and the MID function to extract the remaining characters. The VALUE function then ensures the extracted text is treated as a number for future calculations.
Select an empty cell adjacent to your text data (for example, cell B1 if your data is in A1).
Type the formula =LET(length,LEN(A1),start,FIND("$",A1),VALUE(MID(A1,start,length-start))) into the formula bar.
Press Enter to execute the formula, which will locate the dollar sign and extract the numeric value that follows it.
Select the cell with the result, navigate to the Home tab, and click the Number Format dropdown to apply Currency or Accounting formatting.

Extract Dollar Amounts from Multiline Cells
Use this method when multiple products and their revenue lines are combined within a single cell.
Extract Text and Values Easily with WPS Spreadsheet
WPS Spreadsheet fully supports advanced text-extraction formulas like MID, FIND, and LET, allowing you to manipulate strings and calculate extracted values exactly like Microsoft Excel. It offers a familiar interface and comprehensive function library for all your data extraction needs.
- 1. Open your data file: Launch WPS Spreadsheet and open your workbook containing the text strings.
- 2. Input the extraction formula: Select an empty cell and input the LET and MID formula to target your text cell.
- 3. Apply number formatting: Press Enter, then use the Number Format dropdown on the Home tab to apply Currency formatting.

Frequently Asked Questions
Why does my extracted dollar value result in a #VALUE! error?
This usually happens if the formula cannot find the '$' sign in the text string, or if there are non-numeric characters attached to the end of the extracted string. Ensure the FIND function references the exact symbol used in your text.
Can I extract values from text without a dollar sign?
Yes. If your numbers lack a dollar sign, you can adjust the FIND function to look for a different delimiter, such as a colon, dash, or space that immediately precedes the numeric value in your text string.
Why can't I sum the extracted dollar amounts?
If you cannot sum the results, the extracted amounts are likely still formatted as plain text. Ensure you wrap your extraction formula in the VALUE() function or multiply the result by 1 to force Excel to treat it as a calculation-ready number.




