+ Reply to Thread
Results 1 to 4 of 4

Data Validation custom formula - how to apply?

  1. #1
    Forum Contributor
    Join Date
    08-23-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    404

    Data Validation custom formula - how to apply?

    Hi all,

    I have this formula - works perfectly well. How do I apply it using Custom DV? I add it to the formula within the DV custom dialog and it just throws up the DV error on anything I enter.

    =IF(LEFT(A1,1)="A",IF(RIGHT(A1:A1,3)+0>B1,"Allowed","Not allowed"),"Allowed")

    I have tried removing the True/False statements as I guess they're not allowed. Still no joy though.

    : (

  2. #2
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Data Validation custom formula - how to apply?

    I think...
    in data validation ..
    you just need to enter the "Allowed" or "not Allowed"
    there is no need to enter the whole formula..
    as you are entering it in the sheet itself...


    click * to appreciate..

  3. #3
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,293

    Re: Data Validation custom formula - how to apply?

    =and(LEFT(A1,1)="A",RIGHT(A1,3)+0>B1)
    Does this work?
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  4. #4
    Forum Contributor
    Join Date
    08-23-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    404

    Re: Data Validation custom formula - how to apply?

    Of course! AND!

    Thank you!!

    Thanks Vikas for replying too.

+ 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. Replies: 2
    Last Post: 10-07-2009, 12:45 AM
  2. Data Validation - Custom Formula
    By Brandy in forum Excel General
    Replies: 5
    Last Post: 10-05-2009, 04:32 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. [SOLVED] 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