Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / September 2007

Tip: Looking for answers? Try searching our database.

Next occuance

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Frustrated User - 21 Sep 2007 05:56 GMT
I am trying to create a spreadsheet list of client birthdays.  I need a col
titled Date of Birth (this is obviously just data entry).  The next col
needs to be Next Birthday and then one for age.  I have the calculation
formula done for the age col.  Is there an easy way to fill-in the values
for the "Next Bday" col?
Roger Govier - 21 Sep 2007 08:52 GMT
Hi

One way
=IF(DATE(YEAR(TODAY()),MONTH(A1),DAY(A1))<TODAY(),
DATE(YEAR(TODAY())+1,MONTH(A1),DAY(A1)),
DATE(YEAR(TODAY()),MONTH(A1),DAY(A1)))

Signature

Regards
Roger Govier

>I am trying to create a spreadsheet list of client birthdays.  I need a col
> titled Date of Birth (this is obviously just data entry).  The next col
> needs to be Next Birthday and then one for age.  I have the calculation
> formula done for the age col.  Is there an easy way to fill-in the values
> for the "Next Bday" col?
Ron Coderre - 21 Sep 2007 12:31 GMT
Perhaps this:
=IF(--TEXT(A1,"dd-mmm")<=TODAY(),--TEXT(A1,"dd-mmm"),--(TEXT(A1,"dd-mmm-")&(YEAR(TODAY())+1)))

Does that help?
--------------------------

Regards,

Ron (XL2003, Win XP)
Microsoft MVP (Excel)

>I am trying to create a spreadsheet list of client birthdays.  I need a col
> titled Date of Birth (this is obviously just data entry).  The next col
> needs to be Next Birthday and then one for age.  I have the calculation
> formula done for the age col.  Is there an easy way to fill-in the values
> for the "Next Bday" col?
Ron Coderre - 21 Sep 2007 13:01 GMT
Well...THAT formula was wrong!

Try this:
=TODAY()+LOOKUP(365,--(TEXT(A1,"dd-mmm-")&(YEAR(NOW())+{0,1}))-TODAY())

Does that help?
--------------------------

Regards,

Ron (XL2003, Win XP)
Microsoft MVP (Excel)

> Perhaps this:
> =IF(--TEXT(A1,"dd-mmm")<=TODAY(),--TEXT(A1,"dd-mmm"),--(TEXT(A1,"dd-mmm-")&(YEAR(TODAY())+1)))
[quoted text clipped - 13 lines]
>> formula done for the age col.  Is there an easy way to fill-in the values
>> for the "Next Bday" col?
Ron Rosenfeld - 21 Sep 2007 13:24 GMT
>I am trying to create a spreadsheet list of client birthdays.  I need a col
>titled Date of Birth (this is obviously just data entry).  The next col
>needs to be Next Birthday and then one for age.  I have the calculation
>formula done for the age col.  Is there an easy way to fill-in the values
>for the "Next Bday" col?

=DATE(YEAR(TODAY())+(DATE(YEAR(TODAY()),MONTH(DOB),
DAY(DOB))<=TODAY()),MONTH(DOB),DAY(DOB))

--ron
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.