Solved

# Make a Space in a Cell or Delete the Prefix words

Posted on 2011-03-08
185 Views
Hi Experts,

Im trying to make a space betwen a link

13.10.09\Aldershot-Chelsea-05.08.02-L.jpg

I want to make a space after " \ A" I need to get a space between the backslash and A.

If this is to difficult to do I would like to remove the 13.10.09\ leaving just the Aldershot-Chelsea-05.08.02-L.jpg alone in the cell.

0
Question by:gs1uk
[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
• 3
• 2
• 2
• +1

LVL 6

Expert Comment

ID: 35068231
insert column after cells holding the JPG name
Put in the first cell after the first picture name this formula: =MID(cell holding picturename,10,30)

Kind regards

Eric
0

LVL 6

Expert Comment

ID: 35068235
If this is not what you need please upload an example sheet so I can see what you mean...

KR

Eric
0

LVL 59

Accepted Solution

Chris Bottomley earned 63 total points
ID: 35068247
Select the cells then press ctrl and F then type \ as the find string and \ then space in the replace with and enter

Chris
0

LVL 59

Expert Comment

ID: 35068250
Sorry ctrl & H for replace!

Chris
0

LVL 19

Assisted Solution

MINDSUPERB earned 125 total points
ID: 35068265
<If this is to difficult to do I would like to remove the 13.10.09\ leaving just the Aldershot-Chelsea-05.08.02-L.jpg alone in the cell.>

Use this formula

=RIGHT(a1,LEN(B5)-FIND("\",a1))

I assume that the value is in A1.

Sincerely,
Ed
0

LVL 19

Assisted Solution

MINDSUPERB earned 125 total points
ID: 35068271
Sorry,

It must be =RIGHT(A1,LEN(A1)-FIND("\",A1))

Ed
0

LVL 50

Assisted Solution

Ingeborg Hawighorst (Microsoft MVP / EE MVE) earned 62 total points
ID: 35068326
Hello,

alternatively, you can use Text to Columns with the \ sign as the delimiter. That will result in your data being split into two columns:

13.10.09  in the first column and  Aldershot-Chelsea-05.08.02-L.jpg in the second column.

Select the cells with the data, then click Data > Text to Columns > Delimited  > Other and enter a \ sign in the box next to Other > Finish

cheers, teylyn
0

LVL 50

Expert Comment

ID: 35068332
The added bonus of the Text to Column method is that the cells contain the actual value and not a formula that just displays the value. With any formula solution, you will probably need to copy the result and use Paste Special - Values to get the actual text of the results into their own cells.
0

LVL 6

Expert Comment

ID: 35069191
Hi Teylyn,

The Text to column is only acceptable if you don't have to do it several time a week, or maybe a day..

If the name of the picture is changing regularly it must be a formula..

Kr

Eric
0

## Featured Post

Question has a verified solution.

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

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
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…
###### Suggested Courses
Course of the Month8 days, 13 hours left to enroll