Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 33
Default Formula to indicate upcoming birthdays

Can someone please help me regarding a formula which will enable me to
highlight upcoming birthdays on a spreadsheet.

I have no problem creating a formula to highlight, say, a date which falls
in the next 30 days. However, in this case the dates in question are my
friends' dates of birth so the years in such fields are not this year.

Can anyone help please?

TIA

V


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,202
Default Formula to indicate upcoming birthdays

Can someone please help me regarding a formula which will enable me to
highlight upcoming birthdays on a spreadsheet.

I have no problem creating a formula to highlight, say, a date which falls
in the next 30 days. However, in this case the dates in question are my
friends' dates of birth so the years in such fields are not this year.

Can anyone help please?


If you store the birthdays as text, say, like this... Mar 8, July 23,
November 13, etc., then you can form the current years birthday in a column
using this formula...

=--(B2&", "&YEAR(NOW()))

You can then apply your current highlighter formula to that date.

Rick

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 33
Default Formula to indicate upcoming birthdays

"Rick Rothstein (MVP - VB)" wrote in
message ...
If you store the birthdays as text, say, like this... Mar 8, July 23,
November 13, etc., then you can form the current years birthday in a
column using this formula...

=--(B2&", "&YEAR(NOW()))

You can then apply your current highlighter formula to that date.


Thanks for that suggestion.

Actually I like storing the dates as DOBs since then I also know which
birthday is being celebrated this year (in case it's a 'special' one!).

V


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,202
Default Formula to indicate upcoming birthdays

If you store the birthdays as text, say, like this... Mar 8, July 23,
November 13, etc., then you can form the current years birthday in a
column using this formula...

=--(B2&", "&YEAR(NOW()))

You can then apply your current highlighter formula to that date.


Thanks for that suggestion.

Actually I like storing the dates as DOBs since then I also know which
birthday is being celebrated this year (in case it's a 'special' one!).


If the birthday is in A1, then this years birthday date can be found with...

=DATE(YEAR(NOW()),MONTH(A1),DAY(A1))

Rick

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 33
Default Formula to indicate upcoming birthdays

"Rick Rothstein (MVP - VB)" wrote in
message ...
If the birthday is in A1, then this years birthday date can be found
with...

=DATE(YEAR(NOW()),MONTH(A1),DAY(A1))


Many thanks,

V




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 698
Default Formula to indicate upcoming birthdays

With these values in A1:B5

Adam 6/15/1980
Bernice 9/12/1981
Carl 4/10/1979
Dana 6/19/1985
Eileen 7/10/1955

Try this:
Select A1:A5, with A1 as the active cell

From the Excel main menu:
<format<conditional formatting
Condition_1:
€¢ Formula is:
=AND(DATE(YEAR(TODAY()),MONTH(B1),DAY(B1))=TODAY( ),DATE(YEAR(TODAY()),MONTH(B1),DAY(B1))<=TODAY()+3 0)

....Set the format you want .....

Click [OK] when done

In the above example, if today is 06/09/2007, these name would be highlighted:
Adam (06/15/1980)
Dana (06/19/1985)

Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP


"Victor Delta" wrote:

Can someone please help me regarding a formula which will enable me to
highlight upcoming birthdays on a spreadsheet.

I have no problem creating a formula to highlight, say, a date which falls
in the next 30 days. However, in this case the dates in question are my
friends' dates of birth so the years in such fields are not this year.

Can anyone help please?

TIA

V



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
What is formula to have an upcoming date change color? Sunset Excel Worksheet Functions 8 May 15th 07 09:52 PM
Report on upcoming dates Bill Excel Discussion (Misc queries) 1 October 26th 06 03:04 PM
Upcoming Date alerts Trenton Excel Worksheet Functions 9 May 31st 06 09:50 PM
can a cell remind you of an upcoming bill date payment Colin2u Excel Discussion (Misc queries) 3 August 11th 05 07:56 PM
compute upcoming Sunday date in a cell CJ Excel Worksheet Functions 2 November 25th 04 03:33 PM


All times are GMT +1. The time now is 07:23 AM.

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"