#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 353
Default Bithday conditional

If you have birthdates in date format in column C, beginning with row 2,
select range, and Format - Conditional Formatting
Change Cell Value Is: to Formula Is: and enter (copy and paste) this formula:
=AND(DATE(YEAR(TODAY()),MONTH(C2),DAY(C2))=TODAY( ),DATE(YEAR(TODAY()),MONTH(C2),DAY(C2))<=TODAY()+1 0)
Format as desired. Adjust ranges as necessary. Conditional formatting will
begin 10 days before birthday and remain through birthday.

DATE(YEAR(TODAY()),MONTH(C2),DAY(C2)) is converting the birthday in C2 to
the same month and day of this year so that we can make a comparison to
todays date...


"Trippin" wrote:

Im trying to get excel to highlight a birthday 10 days before it arrives i
have dates and ages. i greatful for your help thanks

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
New Conditional Format Overriding Previous Conditional Format Rene Excel Discussion (Misc queries) 3 February 27th 08 06:08 PM
Conditional Rank (or rather, Conditional Range) [email protected] Excel Worksheet Functions 6 April 16th 07 06:15 PM
Conditional Formatting that will display conditional data BrainFart Excel Worksheet Functions 1 September 13th 05 05:45 PM
Conditional Value Michael S. Excel Discussion (Misc queries) 3 June 16th 05 09:45 PM
Conditional sum PO Excel Worksheet Functions 1 January 4th 05 03:51 PM


All times are GMT +1. The time now is 04:06 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"