ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   last 2 digits (https://www.excelbanter.com/excel-discussion-misc-queries/133360-last-2-digits.html)

rexmann

last 2 digits
 
Hi all

I have a 12 digit number in a cell and I want to extract just the last 2
digits and display in a column next to it, and then replicate down the list.
Is this possible?

Equally, a few cells have 10 rather than 12 digits and I would like it to
work for them (although I can live without this as it is only a handful and I
know where they are)

Any help greatly appreciated

Kind regards

Rexmann (using excel 2002)


Cortez

last 2 digits
 
On Mar 5, 10:01 am, rexmann wrote:
Hi all

I have a 12 digit number in a cell and I want to extract just the last 2
digits and display in a column next to it, and then replicate down the list.
Is this possible?

Equally, a few cells have 10 rather than 12 digits and I would like it to
work for them (although I can live without this as it is only a handful and I
know where they are)

Any help greatly appreciated

Kind regards

Rexmann (using excel 2002)



=right(Ref1,2)



rexmann

last 2 digits
 
Hi Cortez

Thanks, worked perfect!

Cheers Rexmann

"Cortez" wrote:

On Mar 5, 10:01 am, rexmann wrote:
Hi all

I have a 12 digit number in a cell and I want to extract just the last 2
digits and display in a column next to it, and then replicate down the list.
Is this possible?

Equally, a few cells have 10 rather than 12 digits and I would like it to
work for them (although I can live without this as it is only a handful and I
know where they are)

Any help greatly appreciated

Kind regards

Rexmann (using excel 2002)



=right(Ref1,2)





All times are GMT +1. The time now is 11:35 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com