+ Reply to Thread
Results 1 to 5 of 5

Thread: Conditional Formatting

  1. #1
    Registered User
    Join Date
    01-09-2012
    Location
    Long Island, USA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Conditional Formatting

    I would like to use the conditional formatting task to be able to highlight the attached spreadsheet, such that the entire row (from col A to H) is highlighted predicated on the following conditions: 1) Highlight the entire row (from col A to H) in red if date is = today, 2) Highlight the entire row (from col A to H) in green if the date is tomorrow, 3) The formula that would highlight the entire row(s) (from col A to H) in yellow that are yet to come within the same week as today's date. As of now, I can only highlight the date cell, not the entire row.
    Attached Files Attached Files
    Last edited by NBVC; 01-10-2012 at 08:20 AM.

  2. #2
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636

    Re: Conditional Formatting

    Revise each condition choosing to: use a formula to determine which cells to format.. then

    Red: =$D2=TODAY()
    Green: =$D2=TODAY()+1
    Yellow: =AND($D2<TODAY()+14,WEEKNUM($D2)=WEEKNUM(TODAY())+1)
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  3. #3
    Registered User
    Join Date
    01-09-2012
    Location
    Long Island, USA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Conditional Formatting

    NBVC:

    Thanks for the feed back. Everything is perfect except for the yellow conditional (remainder of the current week). Using the supplied spreadsheet, let us assume that today were Monday, 2/6/2012. Then the entry on row 10 should be green (which is true based on what you gave me), BUT rows 11 & 12 (2/9/2012 & 2/10/2012) should be yellow - NOT the following week (rows 13 & 14). In other words, the yellow shade should highlight any row that is between the today date, and the upcoming Saturday of that same week - Not the following week.

    The full colored rows is exactly what I want for all three situations. Thanks

  4. #4
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636

    Re: Conditional Formatting

    Try:

    =AND($D2<TODAY()+7,WEEKNUM($D2)=WEEKNUM(TODAY()))
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  5. #5
    Registered User
    Join Date
    01-09-2012
    Location
    Long Island, USA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Conditional Formatting

    Perfect in all three accounts. Thanks

+ 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.2.0