Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
Solved

# How to delete characters in a Cell for Excell 2010

Posted on 2014-03-15
Medium Priority
312 Views
Excel 2010

Have a spreadsheet that has over 6500 rows.

A       B                                                                    C         D
1   Alpha\The Sky IS Mine
2   Beta Test Now\How Many Is this
3   A Very Long Name\How Long
4   Double Slash\First Slash\Second Slash

In Column "B" I would like to delete the characters in each cell (6500) of them, up to and including the Slash Character.  If not too complicated also to the second slash character.

If too complicated I can run it a second time to delete the second slash.

I would like the results to look like this

A       B                                                                           C         D
1   The Sky IS Mine
2   How Many Is this
3   How Long
4   Second Slash

How can I do this?

0
Question by:Thomas Grassi
[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
• 2

LVL 81

Accepted Solution

zorvek (Kevin Jones) earned 2000 total points
ID: 39931967
Use this formula:

=RIGHT(A1,LEN(A1)-FIND("|",SUBSTITUTE(A1,"\","|",LEN(A1)-LEN(SUBSTITUTE(A1,"\","")))))

It will find the last chunk of text after the last backslash.

Kevin
0

LVL 23

Author Comment

ID: 39931982
Keven

Thanks for the fast response

Worked great.

Tom
0

LVL 23

Author Closing Comment

ID: 39931983
Worked Great Job
0

## Featured Post

Question has a verified solution.

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

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
###### Suggested Courses
Course of the Month10 days, 12 hours left to enroll