+ Reply to Thread
Results 1 to 5 of 5

Data Validation

  1. #1
    Registered User
    Join Date
    11-15-2012
    Location
    Carlsbad, CA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Data Validation

    Forgove me if this is simple data validation-

    Is there a formula that will make sure a cell starts with a certain sequence of numbers? If my order numbers began with 123, but the last 3 digits were different, how could I validate that the first 3 digits were always 123.
    Last edited by deneldw; 11-16-2012 at 02:24 PM.

  2. #2
    Forum Contributor dogberry's Avatar
    Join Date
    07-15-2012
    Location
    Wales, UK
    MS-Off Ver
    Excel 2010
    Posts
    624

    Re: Data Validation

    Hi

    Using data validation whole number between 123000 and 123999 would do it.

    Chris
    Click my star if I helped Thanks

  3. #3
    Valued Forum Contributor
    Join Date
    07-27-2012
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    826

    Re: Data Validation

    deneldw,

    Welcome to the forum. I'm open to correction, but I don't think that validation can cover that. However, if there's room for a creative approach, you could enter only the last 3 digits in eg A2, then have a formula in B2 which concatenates "123" & the entry in A2. Have a look at the attached, which I hope helps.




    Edit: Chris, you posted while I was typing. Nice one - that'll do the trick.
    Attached Files Attached Files
    Brendan.


    __________________________________________________________________________________________________
    Things to consider:

    1) You can thank any poster by clicking the * at the left of a helpful post.
    2) You can help to keep the forum tidy by marking your thread as "Solved", if it has been answered to your satisfaction.
    3) Help us to help you, by uploading a sample workbook, showing the type of data you're dealing with, and clearly indicating what the results should be.

  4. #4
    Registered User
    Join Date
    11-15-2012
    Location
    Carlsbad, CA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Red face Re: Data Validation

    Perfect- I knew it was simple.
    Thanks for your help!

  5. #5
    Forum Contributor dogberry's Avatar
    Join Date
    07-15-2012
    Location
    Wales, UK
    MS-Off Ver
    Excel 2010
    Posts
    624

    Re: Data Validation

    Hi

    Pleased to help thank you for the rep and dont forget to mark your thread as solved.

    Chris

+ 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