+ Reply to Thread
Results 1 to 7 of 7

Excel 2007 : Highlighting a Row with a Certain Date

  1. #1
    Registered User
    Join Date
    03-29-2010
    Location
    Ormond Beach Florida
    MS-Off Ver
    Excel 2003; Excel 2007
    Posts
    5

    Question Highlighting a Row with a Certain Date

    I am trying to use conditional formatting to call attention to a row that contains the current date. I can easily highlight a cell containing the date, but is there an easy way to highlight the entire row, and not just the cell?

    Would it be easier to use a macro? I also know that I can sort my table and manually highlight the rows, but I don't want to have to sort the table each time.

    Thank you for your help!
    Last edited by Ormond2009; 03-29-2010 at 03:11 PM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Highlighting a Row with a Certain Date

    As you make conditional formating for a cell make same for a row.

    Only select whole row (or cells you like to highlight) and Write =$B1=TODAY() where B1 is your date you comparing.

  3. #3
    Registered User
    Join Date
    03-29-2010
    Location
    Ormond Beach Florida
    MS-Off Ver
    Excel 2003; Excel 2007
    Posts
    5

    Re: Highlighting a Row with a Certain Date

    Quote Originally Posted by zbor View Post
    As you make conditional formating for a cell make same for a row.

    Only select whole row (or cells you like to highlight) and Write =$B1=TODAY() where B1 is your date you comparing.
    I am not sure that I follow your answer. Am I supposed to use a formatting rule based upon your formula?

    I am selecting the entire range of my table...
    I will try some more. Thank you for your quick response!

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Highlighting a Row with a Certain Date

    Look example:
    Attached Files Attached Files

  5. #5
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Highlighting a Row with a Certain Date

    Is there any other data in the row you want to highlight?

    If so that data could well affect the result, ie punch holes in the highlighted row,and leave cells highlighted when the condition is not met.
    In this case a simple solution might not be possible without a macro

    EDIT:

    Hold that result! zbor is bang on.
    Clean forgot about the fomula option. Silly boy!
    Last edited by Marcol; 03-29-2010 at 02:36 PM. Reason: Confessing to Stupidity

  6. #6
    Registered User
    Join Date
    03-29-2010
    Location
    Ormond Beach Florida
    MS-Off Ver
    Excel 2003; Excel 2007
    Posts
    5

    Smile Re: Highlighting a Row with a Certain Date

    Quote Originally Posted by zbor View Post
    As you make conditional formating for a cell make same for a row.

    Only select whole row (or cells you like to highlight) and Write =$B1=TODAY() where B1 is your date you comparing.
    Thank you Zbor. I didn't realize that $B1 was the column containing the date. Your spreadsheet example cleared up my confusion. I can use the DATE function (instead of NOW) to specify a different date too.

    Thanks again to all!!!

  7. #7
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Highlighting a Row with a Certain Date

    You better define some cell where you can write date (for example A1) so in your formula you can use:

    =$B1=$A$1

+ 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