I have hundreds of rows of numbers ending in suffix A (i.e. 10046.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have hundreds of rows of numbers ending in suffix A (i.e. 100465A). I want
to delete the suffix without manually deleting in each cell.
 
Are they all the same length?

If so, you can use Text To Columns, "Fixed Width", and use "Do Not Import"
to eliminate the "A", and have your data ready for use, *without* any
underlying formulas to perhaps have to get rid of later.

One way to go if you have varying lengths of data, is this Text formula,
which will leave you with the formula in the cell:

=LEFT(A1,LEN(A1)-1)

Besides having the formula in the cell, the actual return is also Text.
To convert to a true number for future calculations, simply add the double
negative:

=--LEFT(A1,LEN(A1)-1)

--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================

I have hundreds of rows of numbers ending in suffix A (i.e. 100465A). I
want
to delete the suffix without manually deleting in each cell.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top