ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Setting up and Configuration of Excel (https://www.excelbanter.com/setting-up-configuration-excel/)
-   -   Credit Card # (https://www.excelbanter.com/setting-up-configuration-excel/28969-credit-card.html)

kmcguire

Credit Card #
 
When I place a CC# into my excel worksheet it is changing the last number
(16) to a zero. How can this be stopped

Dave Peterson

format the cell(s) as text first

or

precede your credit card number with an apostrophe:

'1234123412341234

(Excel only keeps track of up to 15 digits in real numbers.)

kmcguire wrote:

When I place a CC# into my excel worksheet it is changing the last number
(16) to a zero. How can this be stopped


--

Dave Peterson

Paul

Formatting cells as text in advance is good, but I prefer to precede the
number with a "cc". This makes it clearly visible that the last digit has not
been changed to 0. If I need to, I can revert to a pure number via the
formula =right(A1, (len(A1)-2)).

Regards
Paul

"kmcguire" wrote:

When I place a CC# into my excel worksheet it is changing the last number
(16) to a zero. How can this be stopped



All times are GMT +1. The time now is 05:06 AM.

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