Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Schmacker
 
Posts: n/a
Default Custom format for credit card number


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?


--
Schmacker
------------------------------------------------------------------------
Schmacker's Profile: http://www.excelforum.com/member.php...o&userid=28041
View this thread: http://www.excelforum.com/showthread...hreadid=482287

  #2   Report Post  
Chip Pearson
 
Posts: n/a
Default Custom format for credit card number

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"
wrote in
message
...

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?


--
Schmacker
------------------------------------------------------------------------
Schmacker's Profile:
http://www.excelforum.com/member.php...o&userid=28041
View this thread:
http://www.excelforum.com/showthread...hreadid=482287



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert numbers from text format to number format merlin68 Excel Discussion (Misc queries) 7 June 20th 07 07:03 PM
Custom Number format question Joh Excel Discussion (Misc queries) 5 October 25th 05 02:31 PM
number format Ivan Excel Discussion (Misc queries) 2 October 14th 05 02:08 PM
Custom number format - Accounting [email protected] Excel Worksheet Functions 0 October 11th 05 06:21 PM
Custom number format always defaults last number to 0. scubadave Excel Discussion (Misc queries) 2 June 15th 05 10:20 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"