• 100% Satisfaction Guarantee

Zabo04, Computer Enthusiast
Category: Microsoft Office
Satisfied Customers: 265
Experience:  Experienced in Word, Excel, Access, Powerpoint, and Outlook.
58597962
Type Your Microsoft Office Question Here...
Zabo04 is online now

# Excel - filtering text out of cell with numbers

### Resolved Question:

I need to sort two worksheets by Dewey Decimal number, but ignoring the prefixes. For example, E398.2, J398.2, 001.24, Y891.7, etc. Is there a way to separate the text prefixes into their own column, so that the numbers can be sorted?

 What I have What I Need 006.686 KEL J 001.420285 GAI J001.420285 GAI E 001.94 BEL E002 DON J 001.942 HER J001.942 HER E 002 DON Y006.3023 GRE J 004.678028 JAK J004.678028 JAK J 005.8 JAK J005.8 JAK Y 006.3023 GRE E001.94 BEL 006.686 BIN 006.686 BIN 006.686 KEL
Submitted: 4 years ago.
Category: Microsoft Office
Expert:  Zabo04 replied 4 years ago.

Zabo04 :

You could just find the numbers within the spreadsheet using this formula, where A1 is the cell containing the dewey decimal number: =RIGHT(A2,LEN(A2)-MIN(IFERROR(FIND(0,A2),L EN(A2)),IFERROR(FIND(1,A2),LEN(A2)),IFERROR(FIND(2,A2),LEN(A2)),IFERROR(FIND(3,A2),LEN(A2)),IFERROR(FIND(4,A2),LEN(A2)),IFERROR(FIND(5,A2),LEN(A2)),IFERROR(FIND(6,A2),LEN(A2)),IFERROR(FIND(7,A2),LEN(A2)),IFERROR(FIND(8,A2),LEN(A2)),IFERROR(FIND(9,A2),LEN(A2)))+1)

Zabo04 :

If you want the leading prefix use this formula, where A2 is again the cell containing the dewey decimal number: =TRIM(LEFT(A2,MIN(IFERROR(FIND(0,A2),LEN(A2)),IFERROR(FIND(1,A2),LEN(A2)),IFERROR(FIND(2,A2),LEN(A2)),IFERROR(FIND(3,A2),LEN(A2)),IFERROR(FIND(4,A 2),LEN(A2)),IFERROR(FIND(5,A2),LEN(A2)),IFERROR(FIND(6,A2),LEN(A2)),IFERROR(FIND(7,A2),LEN(A2)),IFERROR(FIND(8,A2),LEN(A2)),IFERROR(FIND(9,A2),LEN(A2)))-1))

Zabo04 :

If you attach the spreadsheet and add the two columns (with headers) so that I can see the headers for how the spreadsheet should look, and fill in the first two rows (books), I'll setup the spreadsheet for you.

Zabo04 :

What I meant by that is I need the empty columns for where the prefix and numbers go, and two examples, I don't need you to do every entry, otherwise there wouldn't be a point to you asking your question, you would have done that in the first place.

Customer:

Here's a small portion of the spreadsheet:

Zabo04, Computer Enthusiast
Category: Microsoft Office
Satisfied Customers: 265
Experience: Experienced in Word, Excel, Access, Powerpoint, and Outlook.

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

### What Customers are Saying:

• My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer New York
< Previous | Next >
• My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer New York
• Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
• This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex Los Angeles, CA
• Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP Hesperia, CA
• I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin Kernersville, NC
• Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther Woodstock, NY
• Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know. Robin Elkton, Maryland

• ### jstinehelfer

#### Satisfied Customers:

36
A+ Comptia Certified computer repair
< Last | Next >

### jstinehelfer

#### Satisfied Customers:

36
A+ Comptia Certified computer repair

### JasonJames122

#### Satisfied Customers:

0
I manage all information systems (network of Windows PC's and servers with Microsoft Office products) for a small business

### Jess M.

#### Satisfied Customers:

481
Computer Software Specialist for more than 10 years

### The-PC-Guy

#### Satisfied Customers:

450
20 years experience providing remote computer support

### James K.

#### Satisfied Customers:

260
Technical Director of IT Company

### IT Miro

#### Satisfied Customers:

147
Bachelor's Degree in Information Technology, Microsoft Certified Professional