+ Reply to Thread
Results 1 to 2 of 2

Custom format for credit card number

  1. #1
    Registered User
    Join Date
    10-12-2005
    Location
    Des Moines
    Posts
    3

    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?

  2. #2
    Chip Pearson
    Guest

    Re: 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"
    <[email protected]> wrote in
    message
    news:[email protected]...
    >
    > 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1