Custom format for credit card number

S

Schmacker

I created a custom format for credit card numbers using
XXXX-XXXX-XXXX-XXXX.
But when I key a number into the formatted cell, the last (rightmost)
digit converts to zero.

So when I enter, for example, 5511246190465589 the cell displays
5511-2461-9046-5580.

Any ideas?
 
C

Chip Pearson

Precede the credit card number with an apostrophe ('). This will
not show up in the cell, but will display in the formula bar.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Schmacker"
message
news:[email protected]...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top