98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Excel Training and help » Concatenate
Concatenate
Resolved · Low Priority · Version 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
Training information:
See also:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Excel tip:Convert a column into row quickly in Excel 2010Occasionally you might enter data into Excel vertically and then when you finish realize that actually it would look more clearer if it was represented in a horizontal format. If you follow these simple steps below, you can quickly change the data from going vertically to horizontally and vice versa. |