Home
Challenges
Remove Non-Numeric Characters
Cleanup
Easy

Remove Non-Numeric Characters

An Excel price column contains mixed text, and you need to strip out non-numeric characters so the values can be calculated.

AuthorExcelClash Team
PublishedApr 02, 2026
Remove Non-Numeric Characters

The Problem

Price data is often stored as text instead of clean numbers. A value may include currency symbols, labels like USD, or extra words such as each. That looks readable, but it stops Excel from using the values properly in calculations.

This challenge cleans each row into a real number, then uses those cleaned values to build a total. The main goal is not just removing text, but making sure the result can actually be summed.

How We Solve It

Each row has a different kind of extra text, so the formula pattern removes the unwanted piece first and then converts the result into a numeric value. SUBSTITUTE does the cleanup and VALUE finishes the conversion.

Method 1: Remove symbols with SUBSTITUTE

Substitute Symbols Illustration
Method 1: Remove known symbols one by one with SUBSTITUTE.

This is the simplest pattern when you know exactly which symbols are in the text. You can nest SUBSTITUTE calls to strip them out before converting the result.

This solves the cleanup problem when the unwanted characters are predictable. Once the dollar signs, commas, or labels are removed, the remaining text is close enough to a real number that Excel can work with it properly.

=SUBSTITUTE(SUBSTITUTE(A2, "$", ""), ",", "")

Method 2: Use NUMBERVALUE for formatted numbers

NumberValue Clean Illustration
Method 2: Convert formatted text to a number when the separators are known.

NUMBERVALUE is useful when the text already looks numeric but uses grouping or decimal separators. It is not the main pattern in this challenge, but it is good to know when the problem is more about formatting than extra words.

This solves the conversion problem in cases where the number is mostly clean and the separator style is the main obstacle. It is a strong option when the text does not have extra words, but it still is not being read as a number.

=NUMBERVALUE(A2, ".", ",")

Method 3: Remove trailing words

Replace Cleanup Illustration
Method 3: Strip suffix text from the end of a number string.

Some entries only need a short text fragment removed from the front or back. That is still a good fit for SUBSTITUTE, and once the text is gone, VALUE can turn the result into a real number.

This solves the rows where the number itself is fine but extra wording is attached around it. By removing the known text first, the formula leaves behind a value that can be converted and added into the final total.

=VALUE(SUBSTITUTE(A3," USD",""))

Function Explanation

1. SUBSTITUTE

SUBSTITUTE replaces one text fragment with another. In this challenge, the replacement is usually an empty string so the unwanted symbols disappear.

Learn more this functionSUBSTITUTE

2. VALUE

VALUE converts text that looks like a number into an actual number. That matters because a cleaned string is not always treated as numeric until it is converted.

Learn more this functionVALUE

3. SUM

SUM adds the cleaned values together. It is the final proof that the cleanup worked, because text that was not converted properly would break the total.

Learn more this functionSUM

The key idea is that the cleanup has to match the real pattern in the source text. When the unwanted pieces differ from row to row, the formula often needs to target each pattern directly.

Try Yourself

Clean each invoice string into a real number, then finish the summary so the worksheet shows how many invoice records were processed and what the total invoice sum is after cleanup.

1
Objective #1
Cell: B2-B6

In Column B, convert the Raw Invoice Amount in Column A into a clean number. Remove "$", " USD", "Price: ", " each", and "TOTAL ". Use VALUE so the result is numeric.

2
Objective #2
Cell: B9

In cell B9, count the total number of invoice records in your list.

3
Objective #3
Cell: B10

In cell B10, identify the total sum of all clean invoice amounts in your database roster.

Tactical Arena
Objectives Met: 0 / 0
Share this challenge
Share this challenge

Let others know about this challenge!

Related Challenges
Analysis
#35
Find the Second Best Sale

An Excel sales leaderboard needs ranking detail, and you need to identify the second-highest result and the person behind it.

Intermediate
Cleanup
#36
Check if Text is All Caps

An Excel code list needs review, and you need to flag which entries are fully typed in uppercase and which are not.

Easy
Analysis
#37
Calculate Pro-Rated Costs

An Excel billing sheet needs partial charges, and you need to calculate how much of a monthly cost applies to each service period.

Intermediate
Cleanup
#38
Identify Duplicate Transactions

An Excel transaction log may contain repeated IDs, and you need to flag possible duplicates before review.

Easy
Discussion
0 Feedbacks
ExcelClash

ExcelClash is an interactive platform designed to level up your Excel skills through real-world exercises and challenges. Sharpen your logic, solve real spreadsheet problems, and learn faster—without boring lessons. Just hands-on practice that actually sticks.

Navigation
Back to Challenges
Go to Dashboard
Platform Home
Discover
SUM FunctionsLookup FunctionsConditional FunctionsLogical Functions
Support
About UsContact UsPrivacy PolicyTerms of Service
© 2026 ExcelClash, Inc. All rights reserved.
Objectives Met: 0 / 0