ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How can I have Excel determine what the last digit is in a series? (https://www.excelbanter.com/excel-worksheet-functions/226399-how-can-i-have-excel-determine-what-last-digit-series.html)

BinaryOrc

How can I have Excel determine what the last digit is in a series?
 
Hi all,

I am trying to have excel determine what the last digit is in a 9 digit
series of numbers to apply basic encryption to said series of 9 digit numbers.

Is there a way that Excel can recognize whether the last digit is a 1 or 2,
etc...

Thanks for any help you can give me.


Gary''s Student

How can I have Excel determine what the last digit is in a series?
 
=--RIGHT(A1,1)
--
Gary''s Student - gsnu200842


"BinaryOrc" wrote:

Hi all,

I am trying to have excel determine what the last digit is in a 9 digit
series of numbers to apply basic encryption to said series of 9 digit numbers.

Is there a way that Excel can recognize whether the last digit is a 1 or 2,
etc...

Thanks for any help you can give me.


Bernard Liengme[_3_]

How can I have Excel determine what the last digit is in a series?
 
While there is nothing wrong with Gary's answer, here is alternatives
=MOD(A1,10) will return the last digit of the number in A1

best wishes

--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"BinaryOrc" wrote in message
...
Hi all,

I am trying to have excel determine what the last digit is in a 9 digit
series of numbers to apply basic encryption to said series of 9 digit
numbers.

Is there a way that Excel can recognize whether the last digit is a 1 or
2,
etc...

Thanks for any help you can give me.





All times are GMT +1. The time now is 05:21 PM.

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