Solved

Excel - remove all characters in a cell/column until a numeric character is found

Posted on 2013-12-19
6
455 Views
Last Modified: 2013-12-19
I have a column that has both text and numbers like this:

Jeff - 28pts

I want to remove the "Jeff - " and just have the "28pts" show in the cell/column.

Also, if the cell/column does not have any numeric characters, I want to just remove all text.

Any help is appreciated--thanks!
0
Comment
Question by:saturation
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 19

Expert Comment

by:jss1199
ID: 39729550
You're looking for MID.

If column A contains

                     A                                                           C                                             D
    ====================       ======================    ==============
1   dfgdgfdgf12345                               D1=MID(A1, 6, LEN(A1))             12345
2   DFGGKJD1234567890ABCD         D2=MID(A2, 6, LEN(A2))             1234567890ABCD
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39729696
Can you give a few more examples of "with numbers"

and also some examples of "without numbers"
0
 
LVL 23

Expert Comment

by:NBVC
ID: 39730014
Perhaps:

=RIGHT(A2,LEN(A2)-MIN(FIND(0,SUBSTITUTE(A2,{1,2,3,4,5,6,7,8,9},0)&0))+1)

where A2 is first cell to check.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:saturation
ID: 39730217
Here's another example:

C5 (cell/column)
Jeff - 95pts
Michael - 100pts
Stuart - 5pts

I need it to look like

C5 (cell/column)
95pts
100pts
5pts
0
 
LVL 23

Accepted Solution

by:
NBVC earned 500 total points
ID: 39730270
Try my formula...

or if the dash is there as a separator, you can use:

=IFERROR(TRIM(MID(A2,FIND("-",A2)+1,255)),"")

when there is no dash, you will get a blank.
0
 

Author Closing Comment

by:saturation
ID: 39730410
Perfect.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question