Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

concatenate

ResolvedVersion 2003

Concatenate

Hi
I am just trying to find out the opposite formula of concatenate please? When you want to split data in one cell over 2 cells. Will be grateful if you can help me please?

Thank you,
Tharina

RE: Concatenate

Hi Tharina

This is not so easy, as you will see. There are three functions, LEFT, RIGHT and MID, which allow you to obtain a fixed number of characters from a cell. This works when you have fixed width fields to split.

Use the FIND function to find the "space" in the text, as follows:

=find(" ",Cell containing text e.g. B3)

This will tell you the position of the space, eg 5 means that there are four characters to the left of the space,

You can then use the LEFT function to "get" the text to the left, eg

=left(Cell containing text,Cell ref of FIND cell minus 1)
example +LEFT(B3,C3-1)

You can then use the LEN function to find out how many characters there are in the text cell e.g.

=len(B3)

When you know this, you can use the RIGHT function to "get" the rightmost word, eg

=right(cell containing text, cell containing LEN function minus cell containing FIND function)

example =RIGHT(B3,C3-E3)

This works great when there are only two words in the cell!

Have fun!

Alan Burbridge
Best STL

Excel tip:

Switch on smart tags – Excel 2007

In order to use smart tags, make sure they are turned on, to do this:
1. Click on ‘Microsoft Office‘ button and then click on ‘Excel Options‘.
2. Click on ‘Proofing‘ category and then click on ‘Auto Correct Options‘.
3. In the ‘Auto Correct‘ dialogue box appears, click the ‘Smart Tags‘ Tab.
4. Tick the boxes, next to the Smart Tags you wish to use in Excel

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.