+ Reply to Thread
Results 1 to 2 of 2

Anniversary conditional formatting

  1. #1
    Registered User
    Join Date
    09-17-2019
    Location
    Las Vegas, NV
    MS-Off Ver
    Office 365
    Posts
    1

    Anniversary conditional formatting

    Hi everyone, I have a column on a spreadsheet with a list of Employee's birth dates. I want the field to turn Yellow 2 weeks before this date, obviously excluding the year as a reminder to send them a birthday card. Any help would be appreciated.

  2. #2
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Anniversary conditional formatting

    Welcome to the forum.

    You can get the next birthday from a date using a combination of EDATE and DATEDIF, like this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    You can then use 14 days before this as a Conditional Formatting formula, like this:
    1. Select your range (the range of dates you want to format).
    2. On the Home tab of the ribbon, click 'Conditional Formatting', then 'New Rule', then 'Use a formula to determine which cells to format'.
    3. In the formula box, enter this, where A2 is the top-left cell of the range you want to format:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    4. Click 'Format' then the 'Fill' tab and choose yellow fill.
    5. Click OK twice to get back to the worksheet.

    Hope that does what you want.
    Regards,
    Aardigspook

    I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
    If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
    You don't need to give me rep if I helped, but a thank-you is nice.

+ 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. Formatting Yearly Anniversary Dates Based on a Control List
    By mega777mixx in forum Excel General
    Replies: 3
    Last Post: 06-18-2018, 07:37 PM
  2. [SOLVED] Conditional Formatting, Annually Month Anniversary Change
    By maxwellmays in forum Excel General
    Replies: 7
    Last Post: 06-15-2017, 07:20 PM
  3. [SOLVED] Highlighting several anniversary dates using Conditional Formatting
    By Vikiy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-11-2016, 01:11 PM
  4. Replies: 0
    Last Post: 03-28-2016, 01:35 PM
  5. [SOLVED] Conditional formatting- Anniversary of a date is due
    By robrobet in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 10-26-2014, 03:39 PM
  6. Opening xlsm files with conditional formatting opens with removed conditional formatting
    By Martijn.Steenbakker in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-07-2014, 05:38 AM
  7. Employee Anniversary date - Conditional Formatting
    By shona3086 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-30-2012, 05:21 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