|  

» Removing Redundant Characters from a Range of Cells and Resetting the Format

Problem:

The text values in the range A2:A5 contain redundant parentheses.
We want to create a formula that will remove the parentheses and set the format of the cells to "general".

Solution:

Use the TEXT, TRIM, and SUBSTITUTE functions as shown in the following formula:
=TEXT(TRIM(SUBSTITUTE(SUBSTITUTE(A2,")",""),"(","")),"General").
Screenshot // Removing Redundant Characters from a Range of Cells and Resetting the Format
Removing Redundant Characters from a Range of Cells and Resetting the Format


Rate This Tip
12 34 5
Rating: 2.94     Views: 21661
No comments have been submitted.
Click here to post comment
For Registered Users
Name
Comment Title
Comments