ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Custom number format always defaults last number to 0. (https://www.excelbanter.com/excel-discussion-misc-queries/30935-custom-number-format-always-defaults-last-number-0-a.html)

scubadave

Custom number format always defaults last number to 0.
 
I am trying to format cells to input credit card numbers in Excell 2000.
When I set up a custom number format for four sets of four numbers
(####-####-####-####) the result always changes the last number to a 0. How
do I overcome that?

bj

Excel only lets 15 digits be used in numbers To have the 16th number most
people use text.

"scubadave" wrote:

I am trying to format cells to input credit card numbers in Excell 2000.
When I set up a custom number format for four sets of four numbers
(####-####-####-####) the result always changes the last number to a 0. How
do I overcome that?


George Nicholson

Excel is limited to 15 digit numbers.

Since you aren't likely to be adding CC#s together, there is no reason you
can't store them as text.

HTH,
--
George Nicholson

Remove 'Junk' from return address.


"scubadave" wrote in message
...
I am trying to format cells to input credit card numbers in Excell 2000.
When I set up a custom number format for four sets of four numbers
(####-####-####-####) the result always changes the last number to a 0.
How
do I overcome that?





All times are GMT +1. The time now is 09:25 PM.

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