+ Reply to Thread
Results 1 to 2 of 2

Format a cell with numbers and user defined text

  1. #1
    Rod R.
    Guest

    Format a cell with numbers and user defined text

    I want to format a cell that will take user defined numbers and text in the
    following format: 12345678-A
    Another example would be: 23454368-X

    The numbers, dash, and text refer to Medicaid identification numbers and I
    want to be able to have a constant format when these values are entered.

  2. #2
    pinmaster
    Guest
    Hi
    Assuming the dash will always be second to last, you can use conditional formatting. Select your columns where these numbers will be inserted then go to Format/Condtional Formatting and choose Formula is from the drop down menu and use this formula.....

    =LEN(FIND("-",RIGHT(A1,2)))

    A1 refers to the first cell in your selection. Choose your format and hit OK.

    Hope this helps!
    JG

+ 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