ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Last digit automatically changes to zero (0) (https://www.excelbanter.com/excel-programming/379593-last-digit-automatically-changes-zero-0-a.html)

[email protected]

Last digit automatically changes to zero (0)
 
I created a spreadsheet for my personal budget. When I type a 16-digit
credit card number into a cell and then hit "enter", the last digit of
my number automatically changes to a zero. Advice??


Martin Fishlock

Last digit automatically changes to zero (0)
 
Numbers have a precision of 15 significant digits.

As it is a credit card number store it as text.

That is Format|Cell and set it to text.
--
Hope this helps
Martin Fishlock
Please do not forget to rate this reply.


" wrote:

I created a spreadsheet for my personal budget. When I type a 16-digit
credit card number into a cell and then hit "enter", the last digit of
my number automatically changes to a zero. Advice??



Joerg

Last digit automatically changes to zero (0)
 
Your question was already answered in excel.worksheet.functions group
Please don't crosspost!

Joerg
wrote in message
oups.com...
I created a spreadsheet for my personal budget. When I type a 16-digit
credit card number into a cell and then hit "enter", the last digit of
my number automatically changes to a zero. Advice??





All times are GMT +1. The time now is 09:55 AM.

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