ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Cell format in Excel (https://www.excelbanter.com/excel-discussion-misc-queries/110245-cell-format-excel.html)

Kevin

Cell format in Excel
 
When I try to enter a credit card number in an cell it always chages to zero
when I push enter

kassie

Cell format in Excel
 
Do you enter it as 1234 5678 9012 3456, or as 1234567890123456

"Kevin" wrote:

When I try to enter a credit card number in an cell it always chages to zero
when I push enter


Roger Govier

Cell format in Excel
 
Hi Kevin

Excel can only work with 15 digits, so your 16th value will always
change to 0 if you enter as numeric.

You need to enter it as Text (which Kassie's suggestion of including the
spaces would produce).
Alternatively, pre-format the column as Text then make your entries
(without the spaces if you wish) or type a single quote ' before
entering the number. This will make it a text entry, but the quote will
not show as part of the number.

--
Regards

Roger Govier


"Kevin" wrote in message
...
When I try to enter a credit card number in an cell it always chages
to zero
when I push enter





All times are GMT +1. The time now is 12:42 AM.

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