Removing the last two digits of a cell

  • Thread starter Thread starter kestrel
  • Start date Start date
K

kestrel

Hi guys,

I've got a list of 16 digit numbers and I want to remove the last tw
digits from each one.

I am totally stuck as to how I can do this. Can't use find and replac
as the numbers are totally random.

Is there a function or option that can do this?

Thanks

Kestre
 
in an adjacent column

=left(a1,14)

and copy down


--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)
 
=INT(A1/100)
where A1 is the number
Note: 16-digit #s are stored as 15-digits with the last one being a 0.
 
If you want to remove the last 2 digits (avoiding rounding issues) and want
to keep it a number, you might want to try:
=--LEFT(B1,14)
 

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