+ Reply to Thread
Results 1 to 4 of 4

Conditional Formatting for dates within 18 months of today's date

  1. #1
    Registered User
    Join Date
    04-02-2024
    Location
    San Diego, California
    MS-Off Ver
    Excel
    Posts
    3

    Conditional Formatting for dates within 18 months of today's date

    Hi Im trying to do format some dates I have dates in column F I want to conditionally format to highlight orange if today's date is within 18 months of the dates in column F.
    Attached Images Attached Images
    Last edited by Carichards07; 04-03-2024 at 04:54 PM. Reason: Uploaded Attachment

  2. #2
    Registered User
    Join Date
    04-02-2024
    Location
    San Diego, California
    MS-Off Ver
    Excel
    Posts
    3

    Re: Conditional Formatting for dates within 18 months of today's date

    I tried to rework this formula I found someone else post to conditionally format dates so the reader knew that the date they entered into the program is getting close to (18 months) which was:

    =AND(E8<DATE(YEAR(TODAY())-2,MONTH(TODAY()),DAY(TODAY())),E8<>"")

    But mine is slightly different in that I need Column F to highlight orange when Column L (which is set to auto populate to todays current date) is within 18 months of the date in Column F

    and to highlight Column F red when Column L is within 12 months of the date of Column F

  3. #3
    Valued Forum Contributor rollis13's Avatar
    Join Date
    01-26-2012
    Location
    Cordenons
    MS-Off Ver
    Excel 2016 32bit - Win 11
    Posts
    935

    Re: Conditional Formatting for dates within 18 months of today's date

    Have a try for "within 18 months":

    =DATE(YEAR($F2),MONTH($F2)-18,DAY($F2))<TODAY()

    or

    =DATE(YEAR($F2),MONTH($F2)-18,DAY($F2))<$L2
    Last edited by rollis13; 04-03-2024 at 05:27 PM.
    Difficult is not to know but to share what you know (Han Fei Tzu reworked)

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,918

    Re: Conditional Formatting for dates within 18 months of today's date

    Please Login or Register  to view this content.
    Ben Van Johnson

+ 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 older than Today
    By Wheelie686 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-06-2018, 08:34 AM
  2. [SOLVED] Conditional Formatting for Dates from Today
    By Hedy in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-07-2018, 01:03 PM
  3. Conditional formatting using months of dates
    By DaSandmanCometh in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 05-19-2018, 01:33 PM
  4. [SOLVED] Conditional Formatting for 2 months from today
    By drunkchicken in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 08-22-2017, 09:47 PM
  5. Conditional formatting with dates NOT based on today
    By bionerdette in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-13-2014, 07:13 PM
  6. [SOLVED] Conditional Formatting between two dates that are not today!
    By IreneADS in forum Excel General
    Replies: 12
    Last Post: 01-15-2014, 05:42 PM
  7. [SOLVED] Conditional Formatting of: dates within 1 month and dates before today.
    By Luke Smith in forum Excel General
    Replies: 5
    Last Post: 06-18-2013, 07:29 AM

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