Removing the last two digits of a cell

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
 
B

Bob Phillips

in an adjacent column

=left(a1,14)

and copy down


--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)
 
B

Bob Umlas, Excel MVP

=INT(A1/100)
where A1 is the number
Note: 16-digit #s are stored as 15-digits with the last one being a 0.
 
K

Kevin Vaughn

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)
 
Top