+ Reply to Thread
Results 1 to 3 of 3

Restrict data entry if preceeding cell value is greater than or blank

  1. #1
    Registered User
    Join Date
    05-01-2013
    Location
    Toronto
    MS-Off Ver
    Excel 2007
    Posts
    2

    Restrict data entry if preceeding cell value is greater than or blank

    Hi there -

    I'm building a worksheet that a group can use to track task completion dates. The tasks are in sequence and are listed in the top row, so each cell can only have a date value greater than the one to the left of it: A2 is greater than A1 and so on. I have used data validation to restrict entry with the following settings:

    Allow: Date,
    Data: greater than or equal to,
    Start date: <cell reference to the immediate left>.

    However, it still seems to be possible to enter a date if the cell to the immediate left is blank. This interrupts the sequence.

    Is there any way to have two validation criteria on the same record, or is there another way to stop users from entering a date value when the preceeding cell doesn't have one?

    Thanks in advance for whatever assistance you can provide.
    Attached Files Attached Files

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Restrict data entry if preceeding cell value is greater than or blank

    You might try something like

    =MIN(DATEVALUE("1/1/9999"),C6)

    as you validation criterion. The empty cell should be ignored.
    Martin

  3. #3
    Registered User
    Join Date
    05-01-2013
    Location
    Toronto
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Restrict data entry if preceeding cell value is greater than or blank

    Thanks Martin -

    I'm not sure how that would prevent the user from entering a value if the preceeding cell is empty. In this case, if C6 is NULL, I can still enter a value in D6.

    Gregg

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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