+ Reply to Thread
Results 1 to 5 of 5

Validation Rule Help

  1. #1
    Registered User
    Join Date
    10-31-2012
    Location
    Swindon, England
    MS-Off Ver
    Excel 2010
    Posts
    4

    Validation Rule Help

    Hey guys,
    I am trying to set a validation rule on MS Excel 2010 that only lets you enter a certain pattern of characters.
    The data I am trying to enter in are ID numbers, for example AA101 E.
    The general pattern to be: Letter, Letter, Number, Number, Number, Space, Letter

    Can anyone tell me how I do this?

    Thanks in advance.

  2. #2
    Registered User
    Join Date
    10-31-2012
    Location
    Hemel Hempstead
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: Validation Rule Help

    On a worksheet make a list of the pattern for instants:

    WORK ID@S
    AA101E
    AA102F
    AA103E
    AA104R


    Highlight the ID Codes (In Bold)

    In the top left corner name the Cells (ID)

    Highlight the column inwhich you want the validation.

    Go to Data/ Validation/ Choose List/ enter =ID in ref box at the bottom.

    Click OK

  3. #3
    Registered User
    Join Date
    10-31-2012
    Location
    Swindon, England
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Validation Rule Help

    I have done this, but I can't enter anything in!

    And also, if I want to make like over 100 ID numbers, will I need to list them all, highlight them and do it manually?

  4. #4
    Registered User
    Join Date
    10-31-2012
    Location
    Hemel Hempstead
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: Validation Rule Help

    Yes create your list Unless you can copy and paste from somewhere.

    You need to name your list by highlighting them and giving the cells a name in the top left corner.

    Once this has been done

    Highlight the cells were you want a drop down menu

    Data/ Validation/ List/ in the bottom row you need to put =(name of cells)

    Ok

  5. #5
    Registered User
    Join Date
    10-31-2012
    Location
    Swindon, England
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Validation Rule Help

    Thank you I have figured out that issue now! but I encountered another issue that you could help me with? if I am entering a bunch of ID numbers with the a sort of pattern, cant I just copy them? but excel doesn't pick up the pattern.
    AA101 E
    AA101 F
    AA101 G
    AA101 H


    .. and so on

    How can I get excel to detect that pattern? I did some experimenting and it detects patterns with number at the end of the ID numbers
    Last edited by xxEXCELxx; 10-31-2012 at 04:24 PM.

+ 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