Extracting numbers

  • Thread starter Thread starter Hendrix
  • Start date Start date
H

Hendrix

I have a field with 9 numbers and I would like to extract the last 5.
(ie 123456789 to 56789) Is that possible?
 
Try this:

=RIGHT(A1,5)

or, if you need it as a number:

=RIGHT(A1,5)*1

Hope this helps.

Pete
 
Of course it is positive... wasn't that obvious from the example?<g>

Okay, if there could be negative numbers...

=MOD(ABS(A1),100000)
 
Back
Top