+ Reply to Thread
Results 1 to 5 of 5

Excel Data validation custom

  1. #1
    Forum Contributor
    Join Date
    08-03-2021
    Location
    London
    MS-Off Ver
    365
    Posts
    594

    Excel Data validation custom

    Hi I'm trying to apply some data validation to a column, i've got it working as a true false,


    Please Login or Register  to view this content.

    but when I try to use it for data validation it doesn't work, and I can't see what's wrong.

    8 AM 2 10 AM TRUE
    12 PM 5 5 PM TRUE
    10 AM 3 1 PM TRUE
    2 PM 1.5 3 PM TRUE
    2 PM 3 5 PM TRUE
    4 PM 1 5 PM TRUE
    58 10 AM FALSE
    12 AM TRUE


    I've put the formula in a column just to show true false are correct but want to use it in validation on the Hours column,
    the workbook's attached and will show things more clearly. the validation is being (or not ) to C5 :C12 .

    Richard.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,912

    Re: Excel Data validation custom

    Your data validation formula needs to start with an equal sign.
    Bernie Deitrick
    Excel MVP 2000-2010

  3. #3
    Forum Contributor
    Join Date
    08-03-2021
    Location
    London
    MS-Off Ver
    365
    Posts
    594

    Re: Excel Data validation custom

    It does,

    =($N$4-B5)>=C5/24 )

    I just didn't copy it from the dialog box

    RD

  4. #4
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,912

    Re: Excel Data validation custom

    No, it doesn't:

    Capture.JPG

    When I added the = sign, the formula worked fine, preventing me from entering 12, for example, into cell C5

    Capture 2.JPG

  5. #5
    Forum Contributor
    Join Date
    08-03-2021
    Location
    London
    MS-Off Ver
    365
    Posts
    594

    Re: Excel Data validation custom

    Thanks for the help, got it working,


    rd

+ 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. Custom data validation
    By ticplusdan in forum Excel General
    Replies: 10
    Last Post: 02-05-2020, 06:59 AM
  2. [SOLVED] Custom data validation
    By Travman1986 in forum Excel General
    Replies: 3
    Last Post: 01-27-2017, 09:59 AM
  3. Using DATEVALUE() Excel Formula within VBA when adding Custom Data Validation
    By MattyG1406 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-22-2015, 08:00 AM
  4. Replies: 0
    Last Post: 11-20-2015, 12:34 PM
  5. [SOLVED] Custom Data Validation
    By Ted Dennis in forum Excel General
    Replies: 12
    Last Post: 02-11-2014, 10:39 AM
  6. Custom data validation
    By superboy in forum Excel General
    Replies: 0
    Last Post: 01-20-2014, 12:05 PM
  7. Replies: 1
    Last Post: 06-22-2012, 07:27 AM

Tags for this Thread

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