+ Reply to Thread
Results 1 to 3 of 3

Conditional formatting with date in different cell

  1. #1
    Registered User
    Join Date
    01-24-2011
    Location
    Brussels
    MS-Off Ver
    Excel 2007
    Posts
    8

    Conditional formatting with date in different cell

    Goodday,

    I have a small issue which I can't seem to find the solution to, although I'm probably overlooking it again.

    I want to get some dates highlighted in a dynamic table. I know of conditional formatting and it's functions, but I don't seem to find the right formula to use.

    The situation:
    The dates are automatically entered per row, starting from row F4 to T4. The next entry will be on row F5 to T5 etc.
    In row F2 to T2 I have the different renewal dates in years (1 year, 2 years etc).
    So for an example: The date in F4 says: 15/01/2015. The date renewal in F2 says: 1 year. So I want the conditional formatting start it's work (making the cell red) when the date (on the computer) passes 15/01/2016.

    Another example:
    Date in G4 says: 15/01/2015. The date renewal in G2 says: 5 years. So I want the cel getting red when the date (on the computer) passes 15/01/2020.


    Thanks a lot in advance to anyone that can help me!

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Conditional formatting with date in different cell

    Assuming you want to apply conditional formatting to the range F4:T25, having renewal periods in row 2 in the range F2:T2, then Select the range F4:T25 and make a New Rule for conditional formatting using the formula given below and set the formatting as per your choice.

    Please Login or Register  to view this content.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Registered User
    Join Date
    01-23-2014
    Location
    Romania
    MS-Off Ver
    Excel 2016
    Posts
    54

    Re: Conditional formatting with date in different cell

    new rule based on formula to apply in conditional formatting:

    =DATE(YEAR(F2)+G2,MONTH(F2),DAY(F2))<TODAY()

+ 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: 3
    Last Post: 11-23-2013, 06:21 AM
  2. [SOLVED] Conditional formatting using a date from another cell, and using 'ifs'
    By BeckyMaclean in forum Excel General
    Replies: 22
    Last Post: 06-13-2013, 06:53 AM
  3. Conditional Formatting on another cells date value to the current cell date
    By jennys83 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-28-2012, 12:55 PM
  4. Replies: 5
    Last Post: 08-22-2012, 05:06 PM
  5. conditional formatting on cell with date
    By CorbinDallis in forum Excel General
    Replies: 4
    Last Post: 09-19-2009, 06:15 AM

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