+ Reply to Thread
Results 1 to 4 of 4

conditional formatting/data validation?

  1. #1
    Forum Contributor
    Join Date
    06-17-2013
    Location
    australia
    MS-Off Ver
    Excel 2007
    Posts
    247

    conditional formatting/data validation?

    Hi Guys,

    Okay so i have 2 columns, Date Sent & Date Received.

    I want to make it so that the Date received cannot be entered unless the date sent has been filled out. I am wanting to create a msgbox prompting the user to enter Date Sent if they try to enter any data into the Date Received cell without having anything in Date Sent.

    VBA code is not my strong suite, is there a way to do this with functions or will this have to be done in VBA?

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,739

    Re: conditional formatting/data validation?

    if you put a data validation of formula
    >cell date sent
    then it can provide an error message
    you can also had a note - so that a message appears when you click on the cell

    Ie - Is there a Sent Date ?

    using the normal validation

    Data > data validation

    so if the cells where D4 and E4
    formula =
    =E4>D4

    see attached
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    06-17-2013
    Location
    australia
    MS-Off Ver
    Excel 2007
    Posts
    247

    Re: conditional formatting/data validation?

    Hi this didn't make sense.. I'm trying to make it so there must be a date entered into the date sent cell e.g b2 before you can enter date recieved into c3.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: conditional formatting/data validation?

    If your dates are in A1 and B1, this use this DV under "Custom" in B1...

    =A1<>""

    Adjust references as needed
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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