+ Reply to Thread
Results 1 to 5 of 5

Data Validation question

Hybrid View

  1. #1
    Registered User
    Join Date
    09-21-2012
    Location
    Sterling, VA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Data Validation question

    in Excel 2010
    I am trying to do a data validation so that a cell is in the following format:

    xxx.xxx.xx.xxxx.xxx

    The "x's" can be either alpha or numeric but is has to be the proper number of characters separated by the periods.

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Data Validation question

    A bit of a work around..

    Since without the "." the length of your string is 15
    - Use in data validation -- text length -- equal to -- 15
    - In a separate cell use
    =REPLACE(REPLACE(REPLACE(REPLACE(A1,4,0,"."),8,0,"."),11,0,"."),16,0,".")
    Does this help?
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    08-17-2012
    Location
    New York, New York
    MS-Off Ver
    Excel 2010
    Posts
    97

    Re: Data Validation question

    use this with data validation or conditional formatting


    Formula: copy to clipboard
    =match("???.???.??.????.???",e7,0)

  4. #4
    Registered User
    Join Date
    09-21-2012
    Location
    Sterling, VA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Data Validation question

    there may be anywhere from 1-30,000 rows however so wil it work that way also?

  5. #5
    Registered User
    Join Date
    08-17-2012
    Location
    New York, New York
    MS-Off Ver
    Excel 2010
    Posts
    97

    Re: Data Validation question

    Apply conditional formatting to the entire column, that way when you add more data to your spreadsheet, the conditional formatting will already be there.

+ 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