+ Reply to Thread
Results 1 to 9 of 9

Conditional formatting with auto entry

  1. #1
    Registered User
    Join Date
    09-14-2015
    Location
    texas
    MS-Off Ver
    office 2007
    Posts
    8

    Conditional formatting with auto entry

    Hello. I'm trying to set up a cell that when data is entered it puts the time it was entered in the next cell over. I also need that time to turn red if no data has been entered in the original cell within ten minutes. Thank you in advance.

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Conditional formatting with auto entry

    I can help you out with the 1st part. Place this in the sheet you want the time to be entered
    Please Login or Register  to view this content.
    Or, see attached
    Cell Time Change.xlsm
    Change cell A1 to see it work
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Registered User
    Join Date
    09-14-2015
    Location
    texas
    MS-Off Ver
    office 2007
    Posts
    8

    Re: Conditional formatting with auto entry

    Looks good so far. Thank you. Is it even possible to do the other thing I need it to do?

  4. #4
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Conditional formatting with auto entry

    It should be with VBA, I just haven't figured out how to do it yet.

  5. #5
    Registered User
    Join Date
    09-14-2015
    Location
    texas
    MS-Off Ver
    office 2007
    Posts
    8

    Re: Conditional formatting with auto entry

    I thought there had to be a way, but I'm not very good with code.

  6. #6
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Conditional formatting with auto entry

    I'll keep trying to get it figured out when I can, in the meantime, you might want to start another thread with for having "....time to turn red if no data has been entered in the original cell within ten minutes."

    If you do that, include the link to this thread in your post so others can see what was originally happening. Also, if you create a new thread, mark this one as solved.

  7. #7
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Conditional formatting with auto entry

    Quote Originally Posted by jdcarter View Post
    I also need that time to turn red if no data has been entered in the original cell within ten minutes.
    Ten minutes starting from when?

    By the way, I suggest you update your title. This problem is not a conditional formatting problem. It's better to state what you want to do, rather than how you think it should be done. A better title would be "Timestamp data entry and highlight when no data entered after 10 minutes"
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  8. #8
    Registered User
    Join Date
    09-14-2015
    Location
    texas
    MS-Off Ver
    office 2007
    Posts
    8

    Re: Conditional formatting with auto entry

    Thank you for the suggestion. I don't know how to update the title via iPhone. My home computer's drive failed and my work computer blocks this site. I need the time stamp to turn red after ten minutes of the time stamp being updated to remind the user to update the coresponding data cell. The data cells should be range (E1:E35). The time stamps should be (D1:D35). I need it to do this until the program is closed. I hope all of that makes sense.

  9. #9
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Conditional formatting with auto entry

    I need to understand the overall scenario. Here is what I think is going on.

    You have a list of data in one column, and a list of timestamps in the next column. If the user changes any piece of data, the timestamp is updated, and the user must update it again within 10 minutes. After 10 minutes have passed, the timestamp will turn red.

    Unfortunately gmr4evr1's code updates the timestamp when you select the data, not when you update it. Here is a correction:
    Please Login or Register  to view this content.
    I have included that code in the attached.

    I have also added a conditional formatting rule to turn timestamps to red font if they are older than 10 minutes. However, note that this only happens if there is some user action that forces a recalculation, like entering more data. It will not happen if the user just sits. If you need that, then it will be necessary to add timers into the code.

    There are also some boundary conditions that you don't mention.

    Is there any requirement to add new data within 10 minutes of first opening the file?
    What if the file is open and there are times leftover from yesterday? Unless the timestamp includes the day, you won't know that is was yesterday. Is the day important?
    How does data get entered when you're starting with a blank file?
    Attached Files Attached Files

+ 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: 4
    Last Post: 03-19-2015, 01:06 PM
  2. [SOLVED] Data Validation Conditional Formatting allow entry into only one of two cells
    By dgibney in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-28-2015, 01:44 AM
  3. Conditional formatting based on a cell entry type...
    By Finalfrontier1976 in forum Excel General
    Replies: 1
    Last Post: 10-31-2014, 03:47 AM
  4. Conditional Formatting following a drop down box entry
    By tallonarcus in forum Excel General
    Replies: 7
    Last Post: 02-16-2011, 12:39 PM
  5. Formula entry syntax for conditional formatting?
    By dwest100 in forum Excel General
    Replies: 4
    Last Post: 08-21-2009, 02:23 PM
  6. Replies: 5
    Last Post: 05-03-2007, 06:48 PM
  7. Conditional formatting of an entire row based on a cell text entry
    By Gilles Desjardins in forum Excel General
    Replies: 2
    Last Post: 12-22-2005, 07:55 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