H Hendrix Sep 25, 2009 #1 I have a field with 9 numbers and I would like to extract the last 5. (ie 123456789 to 56789) Is that possible?
I have a field with 9 numbers and I would like to extract the last 5. (ie 123456789 to 56789) Is that possible?
P Pete_UK Sep 25, 2009 #2 Try this: =RIGHT(A1,5) or, if you need it as a number: =RIGHT(A1,5)*1 Hope this helps. Pete
H Hendrix Sep 25, 2009 #4 Another way... =MOD(A1,100000) -- Rick (MVP - Excel) - Show quoted text - Click to expand... Thanks
P Paresh Patel Oct 1, 2009 #5 =RIGHT(A1,5) this is one solution provided the number is in A1 reference.
B Bernd P Oct 1, 2009 #6 Another way... =MOD(A1,100000) Click to expand... .... Pray its positive Regards, Bernd
R Rick Rothstein Oct 1, 2009 #7 Of course it is positive... wasn't that obvious from the example?<g> Okay, if there could be negative numbers... =MOD(ABS(A1),100000)
Of course it is positive... wasn't that obvious from the example?<g> Okay, if there could be negative numbers... =MOD(ABS(A1),100000)