Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: Data Validation - Validating TXT!!!??? :(

  1. #1
    New Member
    Join Date
    Apr 2002
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    I want to enter a validation on a cells, the data can only be "A B or C" so how can I do that, I'm a Newb to i'm a bit confused! thank u mike

  2. #2
    MrExcel MVP
    Join Date
    Feb 2002
    Location
    Sunny, spring-like Hull
    Posts
    3,339
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Try this:

    On a separate sheet to where you want the validation to occur, type in A B and C in separate cells. Select those cells, click on Insert-Name- Define and enter a name in the top box (say myList) and click on 'Add'. Go onto the sheet where you want the data to be validated, select the cells and click on Data-Validation, change the 'Allow' to List and in the Source box enter =myList. HTH.

  3. #3
    MrExcel MVP
    Join Date
    Mar 2002
    Location
    Michigan USA
    Posts
    11,454
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    On 2002-04-20 10:09, Galvin wrote:
    I want to enter a validation on a cells, the data can only be "A B or C" so how can I do that, I'm a Newb to i'm a bit confused! thank u mike
    Hi Galvin:
    In addition to what Mudface suggested, you could also use a formula for validation ...

    1) Click on A1 then highlite the cells you want to validate
    2)DATA|VALIDATION|SETTINGS|Allow|Custom|Formula

    3) enter the following formula in the formula box

    =or(A1="A",A1="B",A1="C")

    HTH

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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