I have a column of names. I want to keep only the first to letters and drop the rest. Any suggestions on how to do this? There are no symbols or numbers with then so find/replace all after the symbol is out.
I have a column of names. I want to keep only the first to letters and drop the rest. Any suggestions on how to do this? There are no symbols or numbers with then so find/replace all after the symbol is out.
Last edited by graham1298; 02-04-2011 at 04:04 PM.
Select the column and go to Data|Text to Columns.
Select Fixed Width and click Next.
In the Data Preview pane, click after the first 2 chars and you should get a vertical line separating those from the rest.
Click next, select the right column from the Data Preview Pane and then select Do not import (skip) from the Column data format area.
Click Finish.
Alternatively, you can use a temporary helper column with =LEFT(A1,2) where A1 contains original and copy down, then copy and paste special >> values over the original... then delete the helper column.
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks