+ Reply to Thread
Results 1 to 2 of 2

Conditional Formatting with Dates from a Cell Plus # Days

  1. #1
    Registered User
    Join Date
    10-10-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    5

    Conditional Formatting with Dates from a Cell Plus # Days

    Trying to do conditional formatting to format a cell that.
    Formula I'm trying to do is column B formats if the date is column A's date + 45 days.
    Attachment has column A and B un-formatted.
    Columns E and F, and I and J I did 2 slightly different formats. They seem to format, but the data is incorrect in some cells (noted in column G).
    Not sure what's causing the incorrect formatting.
    Attached Files Attached Files

  2. #2
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,466

    Re: Conditional Formatting with Dates from a Cell Plus # Days

    You have to possibilties to correct the conditional formatting:

    Change the CF-rule: =F2>(E2+45) ==> =F1>(E1+45)
    Or change the applies-area: F:F ==> F2:F999999

    Reason: The CF rule is initially applied to the leftmost and additionally cell of the area and then it is applied to the other cells of the area by taking into account the $ signs in the formula.
    Attached Files Attached Files
    Last edited by HansDouwe; 08-25-2023 at 03:32 PM.

+ 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. [SOLVED] Conditional Formatting - Dates before 365 days EXCEPT last line
    By DarrylBurge in forum Excel General
    Replies: 7
    Last Post: 01-30-2023, 05:43 AM
  2. [SOLVED] Conditional formatting for dates within certain number of days
    By kcfungus in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-16-2021, 06:37 AM
  3. [SOLVED] Conditional formatting for expiration dates that are 30, 60, 90 and over 90 days out.
    By loglostlt in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-18-2019, 04:11 AM
  4. Conditional formatting cells, dates / # of days calculation
    By hcdexcel in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-17-2018, 02:21 PM
  5. Replies: 5
    Last Post: 04-08-2016, 03:36 PM
  6. [SOLVED] Conditional formatting for dates over 30 days, except if completed
    By PurplePaws in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 11-19-2015, 12:05 PM
  7. [SOLVED] Conditional formatting list of dates within last 90 days
    By damianberry in forum Excel General
    Replies: 2
    Last Post: 12-11-2012, 02:30 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