+ Reply to Thread
Results 1 to 3 of 3

hightlighting row with the current date

  1. #1
    Forum Contributor
    Join Date
    03-16-2010
    Location
    Phnom Penh, Cambodia
    MS-Off Ver
    Excel 2003
    Posts
    215

    hightlighting row with the current date

    Hi,

    I am trying to hightlight the row which my the sum of other two columns equal to the current date.
    I am thinking to go with this way:

    if the week start plus day of the week equal to current date (=$A$2:$A2+$C2-1=TODAY()) then i would like to use conditional formatting to highlight my row.
    However, it looks like i cannot work it out. I have attached a file as the reference.

    Please kindly advice, and your comments will be very much appreciated.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor jwright650's Avatar
    Join Date
    12-10-2010
    Location
    Va, USA
    MS-Off Ver
    Excel 2003, Excel 2010
    Posts
    606

    Re: hightlighting row with the current date

    I don't think Excel realizes that you have a date so it is comparing today's date to a number(formatted as general).
    Life is like a roll of toilet paper. The closer it gets to the end, the faster it goes.
    John Wright

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: hightlighting row with the current date

    Select columns D and E and apply conditional formatting formula (Home|Conditonal Formatting|New Rule >> use formula to determine which cells to format):

    =LOOKUP(9.99999E+307,$A$1:$A1)+$C1-1=TODAY()

    Click Format and choose colour.
    Attached Files Attached Files
    Where there is a will there are many ways.

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

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

+ 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