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.
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.
Welcome to the forum.
You can get the next birthday from a date using a combination of EDATE and DATEDIF, like this:
Formula: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: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.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks