+ Reply to Thread
Results 1 to 6 of 6

Data Validation List First Letter and second numbers from 0 to 99

  1. #1
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,940

    Data Validation List First Letter and second numbers from 0 to 99

    Hi,

    1. how can i create custom Data Valitadation in cell to have only 3 signs, first as alphabetic and second and third as numbers from 0 to 99

    Can you help please?

    for example N06

    2. Second issue is more difficult. I need DV list to have only 7 characters in cell, first has to be alphabetic letter, rest only digits, letters and underscore are allowed.
    And i have to avoid empty spaces.

    for example B33dv_1

    Please help,
    Best,
    Jacek

  2. #2
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: Data Validation List First Letter and second numbers from 0 to 99

    Ad 1.
    Data validation for cell (custom):

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by KOKOSEK; 03-19-2019 at 07:35 AM.
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  3. #3
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Data Validation List First Letter and second numbers from 0 to 99

    1. =and(left(a1,1)>="a",left(a1,1)<="z",right(a1,2)>="00",right(a1,2)<="99",len(a1)=3)
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  4. #4
    Forum Contributor
    Join Date
    08-14-2018
    Location
    Hanoi, Vietnam
    MS-Off Ver
    2016
    Posts
    118

    Re: Data Validation List First Letter and second numbers from 0 to 99

    It's not a good idea but you can try this generic formula. Just change the red part with any number that you want
    1. (Post #3 is a better formula)
    Please Login or Register  to view this content.
    2.
    Please Login or Register  to view this content.
    Last edited by congnt92; 03-20-2019 at 03:06 AM. Reason: font color tag

  5. #5
    Forum Contributor
    Join Date
    08-14-2018
    Location
    Hanoi, Vietnam
    MS-Off Ver
    2016
    Posts
    118

    Re: Data Validation List First Letter and second numbers from 0 to 99

    @KOKOSEK
    Please Login or Register  to view this content.
    returns True if we have "#01" in A1

  6. #6
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,940

    Re: Data Validation List First Letter and second numbers from 0 to 99

    Thank you Guys, is working !

    congnt92 wow thank you

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Data Validation with specific list of numbers
    By Queenofmycastle in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-01-2019, 02:33 PM
  2. [SOLVED] Data Validation: String of Numbers and A Single Letter at End
    By b624333 in forum Excel Formulas & Functions
    Replies: 32
    Last Post: 06-30-2014, 01:48 PM
  3. Data Validation: Navigating list by pressing first letter ..
    By jaymanwani7 in forum Excel General
    Replies: 6
    Last Post: 11-05-2012, 01:33 PM
  4. Data Validation - 1 letter, 2 numbers
    By RumbleBee in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-19-2012, 08:16 AM
  5. Goto Letter in Validation List
    By bluepill in forum Excel General
    Replies: 2
    Last Post: 12-05-2007, 06:25 AM
  6. Unique numbers from data validation list
    By nick_thomson in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-04-2006, 09:25 AM
  7. Validation list choose a letter
    By helmekki in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-28-2005, 03:57 PM

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