+ Reply to Thread
Results 1 to 7 of 7

Trying to create a prompt where users must enter a date

  1. #1
    Registered User
    Join Date
    03-28-2012
    Location
    Wocester, MA
    MS-Off Ver
    Excel 2010
    Posts
    17

    Trying to create a prompt where users must enter a date

    Hello, I have attached the actual spreadsheet that i am working on to help explain this. What I have is a training matrix, and what I am trying to do is create a prompt for the user where he/she must enter a date.

    If you see Column K, which is the "Evaluation" column, has a drop down list in most of the cells (any of them that contain a "work instruction" in Column A). The data validation list in Column K contains two options to choose from, "proficient" and "needs improvement." What i would like to happen, is if the user selects "Needs Improvement," In Column K, then he/she is automatically prompted to enter a date in the adjacent column (Column L - also called "Follow-Up Date To Be Completed"). I would like it so that the date must be no earlier than "todays" date. Also, once they enter a date, I would that cell to turn the color "red" once the date reaches within 3 days of todays date.

    The only thing I have accomplished so far is conditional formatting where the the cells color in Column L turns yellow if "needs improvement" is selected in the adjacent cell. The code for setting up the prompt is eluding me and perhaps a little beyond my capabilities right now, does anyone know if this can be done, and if so, how? I would also, obviously, like this to continue down for any cells where there is data validation in Column K, with the options of either "proficient" or " needs improvement."
    Attached Files Attached Files
    Last edited by IMacGill; 04-17-2012 at 10:54 AM. Reason: attach sample worksheet

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Trying to create a prompt where users must enter a date

    Hi

    Try again to upload your sample workbook,pls.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    03-28-2012
    Location
    Wocester, MA
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Trying to create a prompt where users must enter a date

    Hi, sorry Im having some difficulties attaching here. Hopefully this works. Book1.xlsx

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Trying to create a prompt where users must enter a date

    I think best way to do this, is using VBA. In this case, i can not help you.

    Another way is to use Custom Validation in column L, with a message, that user can put a date there with the conditions that you need(>=TODAY())

    ..And of course Conditional Formatting for your colors...

    Would you like something like this?

  5. #5
    Registered User
    Join Date
    03-28-2012
    Location
    Wocester, MA
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Trying to create a prompt where users must enter a date

    Yes, at this point anything will help! What i did before, was use data validation, so the user must enter a date. However, for the start date, I wasnt sure if you could put something like that (>=today()) as I was only able to input exact dates. Also, i was able to put a message box in but was having trouble with it popping up at the right now. So yes, I am open and willing to listne to any suggestioins you or anyone else has.

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Trying to create a prompt where users must enter a date

    I made something for you.

    Sorry is not completely ready(Conditional formatting does not work as i want) but i have no time for today. If you can not handle it, i'll see it tomorrow morning.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    03-28-2012
    Location
    Wocester, MA
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Trying to create a prompt where users must enter a date

    Thanks for the help Fotis, I see where you were going, but its not exactly what I was looking for. Even with data validation I am able to create a message box that once "needs improvement" is selected, a message box pops up requesting the user to enter a date in the adajacent cell. However, what I would ultimately like is to create a prompt where the user MUST enter a date.

+ 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