Text to Columns

  • Thread starter Thread starter Joanne
  • Start date Start date
I have a column and all I need is the last 5 characters in this field.
Problem is that this field has various text lengths. How can I get the last
5 characters and delete the rest. My spreadsheet have 1,000 or so lines.

This Column looks like this:

AESGROUPGR123
AESGROUPGR457
AESGROUPGR236
SECTIOGR046
MSGTYHSYHSYHGR123
MSGTYHSYYHGR123

My first thought was to make ths column flush right in Text to columns, but
I do not see that making it flush right is an option. Ideas?

Thanks.
 
Allan Fischler said:
I have a column and all I need is the last 5 characters in this field.
Problem is that this field has various text lengths. How can I get the
last
5 characters and delete the rest. My spreadsheet have 1,000 or so lines.

This Column looks like this:

AESGROUPGR123
AESGROUPGR457
AESGROUPGR236
SECTIOGR046
MSGTYHSYHSYHGR123
MSGTYHSYYHGR123

My first thought was to make ths column flush right in Text to columns,
but
I do not see that making it flush right is an option. Ideas?

Thanks.


You need the "RIGHT" function....
 
Try this:

=RIGHT(A1,5)

and copy down, assuming your data is in column A. Fix the values
using <copy> with Edit | Paste Special, then you can get rid of your
original data.

Hope this helps.

Pete
 
Back
Top