Function Problems

How to Extract Dollar Values from Text Using Excel Formulas

Khadija KhanKhadija Khan Nov 10, 2026 869 views

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.

How to Extract a Dollar Value from Text in Excel
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.
Before you start

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.

Solution 1Recommended

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.

1
Select an output cell

Select an empty cell adjacent to your text data (for example, cell B1 if your data is in A1).

2
Enter the extraction formula

Type the formula =LET(length,LEN(A1),start,FIND("$",A1),VALUE(MID(A1,start,length-start))) into the formula bar.

3
Apply the formula

Press Enter to execute the formula, which will locate the dollar sign and extract the numeric value that follows it.

4
Format as currency

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 Values from Separate Cells Using LET and MID
Formula Breakdown: The LET function is used to define 'length' and 'start' variables to keep the formula clean. If your Excel version does not support LET, you can use the traditional equivalent: =VALUE(MID(A1,FIND("$",A1),LEN(A1)-FIND("$",A1)+1)).

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. 1. Open your data file: Launch WPS Spreadsheet and open your workbook containing the text strings.
  2. 2. Input the extraction formula: Select an empty cell and input the LET and MID formula to target your text cell.
  3. 3. Apply number formatting: Press Enter, then use the Number Format dropdown on the Home tab to apply Currency formatting.
Full compatibility with Microsoft Excel formulas and .xlsx files.Supports advanced text and lookup functions for complex data extraction.Free to use with a lightweight installation and fast startup.
microsoft office alternative - wps office

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.