+ Reply to Thread
Results 1 to 13 of 13

Custom data validation formula

Hybrid View

Stan5582 Custom data validation formula 03-23-2014, 10:21 AM
Xx7 Re: Custom data validation... 03-23-2014, 11:50 AM
MarvinP Re: Custom data validation... 03-23-2014, 12:30 PM
Xx7 Re: Custom data validation... 03-23-2014, 12:46 PM
MarvinP Re: Custom data validation... 03-23-2014, 01:55 PM
Stan5582 Re: Custom data validation... 03-23-2014, 01:04 PM
Richard Buttrey Re: Custom data validation... 03-23-2014, 02:08 PM
bebo021999 Re: Custom data validation... 03-23-2014, 02:09 PM
MarvinP Re: Custom data validation... 03-23-2014, 11:25 PM
bebo021999 Re: Custom data validation... 03-23-2014, 11:56 PM
MarvinP Re: Custom data validation... 03-24-2014, 12:05 AM
bebo021999 Re: Custom data validation... 03-24-2014, 12:16 AM
bebo021999 Re: Custom data validation... 03-24-2014, 02:32 PM
  1. #1
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,657

    Re: Custom data validation formula

    Another option:
    =AND(ISERROR(--MID(A1,1,2)),--MID(A1,3,3)>0)
    Quang PT

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,359

    Re: Custom data validation formula

    Hi Quang,

    I was really hoping your answer would work. It needs to show false if the first two characters are not letters. I tries W31234 and it was allowed by your formula above. I think you are close to a better answer. Have another try?
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,657

    Re: Custom data validation formula

    Quote Originally Posted by MarvinP View Post
    Hi Quang,
    I was really hoping your answer would work. It needs to show false if the first two characters are not letters. I tries W31234 and it was allowed by your formula above. I think you are close to a better answer. Have another try?
    Thhanks Marvin, it was my failure. Maybe this works:
    =AND(ISERROR(--MID(A1,1,1)),ISERROR(--MID(A1,2,1)),--MID(A1,3,3)>=0)

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,359

    Re: Custom data validation formula

    Closer.

    I tried AB123A and it was ok. I don't think it should have been accepted. I reread the problem and he wants exactly two letter and then 1,2 or 3 digits.

    My formula didn't account for this second part either.

+ 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 - Custom Formula
    By Brandy in forum Excel General
    Replies: 5
    Last Post: 10-05-2009, 04:32 PM
  2. custom formula data validation
    By mwc0914 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-11-2008, 10:03 PM
  3. Data Validation Custom with Formula
    By bacalhoun in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-28-2007, 03:38 PM
  4. custom data validation formula
    By mpreddy in forum Excel General
    Replies: 4
    Last Post: 06-11-2007, 06:42 AM
  5. Data Validation - Custom - Formula
    By DYeomans in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-02-2005, 01:06 AM

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