+ Reply to Thread
Results 1 to 33 of 33

Highlight Cells which are After the Date in Cell with Red Once Its Past the End Date

  1. #1
    Forum Contributor
    Join Date
    05-09-2014
    MS-Off Ver
    Excel 2017
    Posts
    300

    Highlight Cells which are After the Date in Cell with Red Once Its Past the End Date

    I need my Spreadsheet to be highlighted Red J under Status once Date on column I once it is past the end date.
    Since I run events from From Start Date to End Dates and would need to know once event End date is reached, it will automatically turn red and i can delete off spreadsheet.

    I would like all Rows after the end dates to be Red saying Ended and would like current dates that are before end date to be green and say Active.

    I have attached a Spreadsheet for your reference.

    Appreciate any help!!!
    Attached Files Attached Files

  2. #2
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Highlight Cells which are After the Date in Cell with Red Once Its Past the End Date

    Give this a go
    Attached Files Attached Files
    Ernest

    Please consider adding a * if I helped

    Nothing drives me crazy - I'm always close enough to walk....

  3. #3
    Forum Contributor
    Join Date
    05-09-2014
    MS-Off Ver
    Excel 2017
    Posts
    300

    Re: Highlight Cells which are After the Date in Cell with Red Once Its Past the End Date

    This is perfect!!! I would like the Whole Column down to have that formatting, How will I do that?

  4. #4
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Highlight Cells which are After the Date in Cell with Red Once Its Past the End Date

    It will--- as soon as you enter a date in the Event End (I think that's the name) it will fill in the "Ended", "Active" and then the conditional formatting will take over...

  5. #5
    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,962

    Re: Highlight Cells which are After the Date in Cell with Red Once Its Past the End Date

    I would avoid using CF om entire columns/rows, it can become very resource-intensive and start to slow things down. Rather, apply it to just what you need
    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

  6. #6
    Forum Contributor
    Join Date
    05-09-2014
    MS-Off Ver
    Excel 2017
    Posts
    300

    Re: Highlight Cells which are After the Date in Cell with Red Once Its Past the End Date

    Thanks for the info, Last question How does excel identify what is todays date that it knows if its past the date?

  7. #7
    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,962

    Re: Highlight Cells which are After the Date in Cell with Red Once Its Past the End Date

    by using =TODAY()

    Also, excess use of this will tend to slow things down (it is volatile, and recalcs with every workbook change). We often just put it its own cell (once) and then just reference it

  8. #8
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Highlight Cells which are After the Date in Cell with Red Once Its Past the End Date

    In the last column I put a formula that compares TODAY() (a built function that returns todays date) from Event End date.

    Dates in XL are just numbers formatted as Dates. Today's date, in numbers, is the number of days since 1/1/1900....weird, yes, but it makes doing integer math on dates really easy...

    HTH

    NOTE: Ford is very correct on the resource HOG of CF....

  9. #9
    Forum Contributor
    Join Date
    05-09-2014
    MS-Off Ver
    Excel 2017
    Posts
    300

    Re: Highlight Cells which are After the Date in Cell with Red Once Its Past the End Date

    That is pretty amazing! So I not need to change todays date every day, it does it automatically correct?
    Sorry for the nooby questions, I am not as advanced as you guys

  10. #10
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Highlight Cells which are After the Date in Cell with Red Once Its Past the End Date

    that is correct, you don't have to change the date......

    and to Ford suggestion....you can choose a cell anywhere (even on a hidden worksheet) and then reference that in the formula

  11. #11
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Highlight Cells which are After the Date in Cell with Red Once Its Past the End Date

    I'm glad Ford and I could lend a hand

    If this has been completed to your satisfaction, please set the thread to Solved...If you feel we deserve an increase in our reputation, feel free to click on the star in the lower left of the thread. Remember, someday when you help somebody they may add to your rep points, and it could be us...just a thought...

  12. #12
    Forum Contributor
    Join Date
    05-09-2014
    MS-Off Ver
    Excel 2017
    Posts
    300

    Re: Highlight Cells which are After the Date in Cell with Red Once Its Past the End Date

    Is there any way to reference them after deletion to a different worksheet in the same excel sheet with a click of a button ?

  13. #13
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Highlight Cells which are After the Date in Cell with Red Once Its Past the End Date

    If I understand what you are asking is

    If I click a button (run a macro) can the marco move the data (that row) to the next line in a different worksheet in the same workbook.

    if that is correct, then, yes, that can be done using a macro....

    if you need assistance with that I would recomment starting a new thread according to forum rules...

  14. #14
    Forum Contributor
    Join Date
    05-09-2014
    MS-Off Ver
    Excel 2017
    Posts
    300

    Re: Highlight Cells which are After the Date in Cell with Red Once Its Past the End Date

    Why is one row not all green, it is happening alot... Any fix to this issue?
    Here is an image of example Error.jpg

    Please help

  15. #15
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Highlight Cells which are After the Date in Cell with Red Once Its Past the End Date

    I can't duplicate it on the file I sent you....can you upload the current file?

  16. #16
    Forum Contributor
    Join Date
    05-09-2014
    MS-Off Ver
    Excel 2017
    Posts
    300

    Re: Highlight Cells which are After the Date in Cell with Red Once Its Past the End Date

    Sure, Here below is a Dropbox Link of the File
    https://www.dropbox.com/sh/jnfvcvvuq...W23mp5IAa?dl=0

  17. #17
    Forum Contributor
    Join Date
    05-09-2014
    MS-Off Ver
    Excel 2017
    Posts
    300

    Re: Highlight Cells which are After the Date in Cell with Red Once Its Past the End Date

    Sure, Here below is a Dropbox Link of the File
    https://www.dropbox.com/sh/jnfvcvvuq...W23mp5IAa?dl=0

  18. #18
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Highlight Cells which are After the Date in Cell with Red Once Its Past the End Date

    I can't get to that because of system restrictions....can you upload it?...

  19. #19
    Forum Contributor
    Join Date
    05-09-2014
    MS-Off Ver
    Excel 2017
    Posts
    300

    Re: Highlight Cells which are After the Date in Cell with Red Once Its Past the End Date

    Sure, Attached is file.
    Attached Files Attached Files

  20. #20
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Highlight Cells which are After the Date in Cell with Red Once Its Past the End Date

    ahhhh.....A file is worth a thousand words or posts in this case.....

    in the conditional formatting the Applies to are got all messed up...

    in the applies to field for both CF's it should be =$A:$J

    that should clean it up....

  21. #21
    Forum Contributor
    Join Date
    05-09-2014
    MS-Off Ver
    Excel 2017
    Posts
    300

    Re: Highlight Cells which are After the Date in Cell with Red Once Its Past the End Date

    Where do i insert those code in since it is a really long code?
    Would you please reupload correct format?

  22. #22
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Highlight Cells which are After the Date in Cell with Red Once Its Past the End Date

    here you go
    Attached Files Attached Files

  23. #23
    Forum Contributor
    Join Date
    05-09-2014
    MS-Off Ver
    Excel 2017
    Posts
    300

    Re: Highlight Cells which are After the Date in Cell with Red Once Its Past the End Date

    Works Perfect, Thanks so much for the help!!

  24. #24
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Highlight Cells which are After the Date in Cell with Red Once Its Past the End Date

    If this has been completed to your satisfaction, please set the thread to Solved...If you feel we deserve an increase in our reputation, feel free to click on the star in the lower left of the thread. Remember, someday when you help somebody they may add to your rep points, and it could be us...just a thought...

  25. #25
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Highlight Cells which are After the Date in Cell with Red Once Its Past the End Date

    Glad we could help...thanks for the rep point...

  26. #26
    Forum Contributor
    Join Date
    05-09-2014
    MS-Off Ver
    Excel 2017
    Posts
    300

    Re: Highlight Cells which are After the Date in Cell with Red Once Its Past the End Date

    Hey, I am still having the same issue with some cells appearing white?
    Please help me out...

  27. #27
    Forum Contributor
    Join Date
    05-09-2014
    MS-Off Ver
    Excel 2017
    Posts
    300

    Re: Highlight Cells which are After the Date in Cell with Red Once Its Past the End Date

    Attached is the Spreadsheet....
    Attached Files Attached Files

  28. #28
    Forum Contributor
    Join Date
    05-09-2014
    MS-Off Ver
    Excel 2017
    Posts
    300

    Re: Highlight Cells which are After the Date in Cell with Red Once Its Past the End Date

    Never mind i just resolved it...

  29. #29
    Forum Contributor
    Join Date
    05-09-2014
    MS-Off Ver
    Excel 2017
    Posts
    300

    Re: Highlight Cells which are After the Date in Cell with Red Once Its Past the End Date

    How would i continue on formatting for selected rows since some are not formatting after a specific column?
    How will I continue on formatting cells?

  30. #30
    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,962

    Re: Highlight Cells which are After the Date in Cell with Red Once Its Past the End Date

    Adjust the range in "applies to" to include all the areas you want to CF

  31. #31
    Forum Contributor
    Join Date
    05-09-2014
    MS-Off Ver
    Excel 2017
    Posts
    300

    Re: Highlight Cells which are After the Date in Cell with Red Once Its Past the End Date

    Thanks!
    Would i also be able have deleted cells from Sheet 1 Transferred to Sheet 2 once deleted ?

  32. #32
    Forum Contributor
    Join Date
    05-09-2014
    MS-Off Ver
    Excel 2017
    Posts
    300

    Re: Highlight Cells which are After the Date in Cell with Red Once Its Past the End Date

    I am still having issues where some of my rows are showing white...... Like attached would you please fix the issue.
    I would also like to have all cells that are deleted to automatically go to Sheet 2....HOLD ORDER ALL EVENTS-MINES TEST.xlsx


    Thanks!!

  33. #33
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Highlight Cells which are After the Date in Cell with Red Once Its Past the End Date

    I work on the CF and got it working the way you want...

    Ford is correct on adjusting the area you want the CF to effect...as far as the request to have stuff deleted after you move it...that's a new post (according to forum rules)...

    NOTE: when you are in the CF dialog box and you click on cells/rows/columns it is possible to accidentally change the applies formula, so, be gentle....
    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: 09-18-2014, 01:14 AM
  2. Replies: 5
    Last Post: 08-22-2012, 05:06 PM
  3. Highlight & count tasks past due date
    By jaywizz in forum Excel General
    Replies: 5
    Last Post: 01-05-2011, 08:48 AM
  4. how can i highlight something when it goes past a certain date
    By bilco in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-11-2006, 12:12 PM
  5. [SOLVED] HIGHLIGHT A DATE 10 DAYS BEFORE IT IS PAST DUE
    By cookie04 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-14-2005, 06:06 PM

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