+ Reply to Thread
Results 1 to 2 of 2

highlight cells after days then unhighlight after data is put in another cell

  1. #1
    Registered User
    Join Date
    06-22-2012
    Location
    Houston, TX
    MS-Off Ver
    Excel 2010
    Posts
    1

    highlight cells after days then unhighlight after data is put in another cell

    excel.jpg


    Please see attached picture. I have little knowledge of excel formulas but managed to get part of what I need done. As you can see from the pic there are several date fields. I need the column "required date" to highlight or change color once 4 days has elapsed from the date that in entered into the cell. I got this to work by selecting the column and going to conditional formatting and selecting "highlight cells less than" and entering the formula "=today()-4" Problem is that I need those to un highlight once the work order is complete. As you can see once it is complete the rest of the information is entered. The date it was finished, qty, etc... and then it is highlighted green. I tried to color over the rule and it wouldnt let me. the boxes were changed to red once 7 days had passed and I tried to change them to green with no success. I was wondering how to make the rule un highlight it once a date is entered into the "finished date column" or even a qty in the "qty" column. I also would like this formula to include only working days as well, not weekends. any help is greatly appreciated. Thanks!!

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: highlight cells after days then unhighlight after data is put in another cell

    hi Charger1, you shouldn't be highlighting the whole row. takes up lots of memory. i don't know where your data starts, so i'm gonna assume from the picture it starts from row 182. highlight A182:I206 or wherever the data should end. use this as the conditional formatting formula:
    =AND(TODAY()-$E182>4,$G182="",$H182="")

    means that cell E has to be more than 4 days earlier than today & cell G & H has to be blank to be turned green

    hope that helps. do upload the Excel file instead if it doesn't help

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

+ 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