+ Reply to Thread
Results 1 to 3 of 3

Auto Number formating

  1. #1
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Auto Number formating

    Hello:

    I enter lots of SS# in column L.
    I need user to enter 123456789 or 123-45-6789 and it should automatically format to xxx-xx-xxxx.
    I have tried doing custome format but seems not to work.
    Also want to restrict the user if he enters any number more or less then 9 digit.
    Please let me know if you have any questions.
    Thanks.

    Riz

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Auto Number formating

    Assuming data in A2
    You can set up data validation by going to Data Validation, Custom and enter =LEN(A2)=9. to limit number to 9 digits

    Then format cell as Special, and select Social Security
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Re: Auto Number formating

    Hello:

    I think i got it, thanks

    Riz

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Auto-formating charts
    By edmundo1971 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 02-27-2014, 06:26 AM
  2. [SOLVED] To find any 4 digit number and return the same number with desired formating effect.
    By neo4u44 in forum Word Programming / VBA / Macros
    Replies: 3
    Last Post: 04-24-2012, 12:45 AM
  3. Stop Auto-Formating
    By Pauleyb in forum Excel General
    Replies: 2
    Last Post: 06-22-2011, 09:51 AM
  4. Auto formating cells
    By abrunstad in forum Excel General
    Replies: 0
    Last Post: 06-02-2009, 08:00 AM
  5. Excel Auto Formating
    By Wiredkevin in forum Excel General
    Replies: 7
    Last Post: 12-02-2008, 04:33 PM
  6. Auto height formating
    By howieg53 in forum Excel General
    Replies: 2
    Last Post: 02-20-2008, 04:25 PM
  7. Auto Formating
    By oneyejack in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-18-2007, 04:53 PM
  8. Replies: 3
    Last Post: 02-14-2006, 06:25 PM

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