Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Calculating Date of next birthday

1,669 views
Skip to first unread message

Ken Lumley

unread,
Dec 21, 2008, 11:52:48 PM12/21/08
to
Perhaps a strange type of request however I have a list of 500 birthdates
and I need to calculate 30 days before the next birthday for each and
display that as a date. I'm using excel 2003 for windows and excel 2004 for
mac.

I can calculate the age as at the next birthday in years and of course the
current age. What I can't seem to figure out how to do is calculate the date
of the next birthday.

Any help would be most appreciated.

Thanks

Ken Lumley

unread,
Dec 22, 2008, 12:12:18 AM12/22/08
to
On 22/12/08 2:52 PM, in article C5755A40.4CAE%klu...@lwb.org.au, "Ken
Lumley" <klu...@lwb.org.au> wrote:

Sorry all, I had a blank moment. The answer is relatively simple for anyone
who may be interested:

=((DATEDIF(F4,TODAY(),"y")+1)*365.25)+F4-30 where F4 contains the date of
birth

David Biddulph

unread,
Dec 22, 2008, 1:33:44 AM12/22/08
to
I think you'll find that you'll often be a day out with that formula. As an
example, try it out with 1st Jan of various years as the DoB (and you may
want to remove the -30 term for the test to make it clearer).

Try =DATE(YEAR(F4)+(DATEDIF(F4,TODAY(),"y")+1),MONTH(F4),DAY(F4))-30
--
David Biddulph

"Ken Lumley" <klu...@lwb.org.au> wrote in message
news:C5755ED2.4CB4%klu...@lwb.org.au...

s.suganthi

unread,
Nov 16, 2009, 3:46:14 AM11/16/09
to
calcuate the age from 2 different dates

Ken Lumley wrote:

Calculating Date of next birthday
21-Dec-08

Thanks

Previous Posts In This Thread:

On Sunday, December 21, 2008 11:52 PM
Ken Lumley wrote:

Calculating Date of next birthday

Thanks

On Monday, December 22, 2008 12:12 AM
Ken Lumley wrote:

Re: Calculating Date of next birthday


On 22/12/08 2:52 PM, in article C5755A40.4CAE%klu...@lwb.org.au, "Ken
Lumley" <klu...@lwb.org.au> wrote:

Sorry all, I had a blank moment. The answer is relatively simple for anyone
who may be interested:

=((DATEDIF(F4,TODAY(),"y")+1)*365.25)+F4-30 where F4 contains the date of
birth

On Monday, December 22, 2008 1:33 AM
David Biddulph wrote:

I think you'll find that you'll often be a day out with that formula.
I think you'll find that you'll often be a day out with that formula. As an
example, try it out with 1st Jan of various years as the DoB (and you may
want to remove the -30 term for the test to make it clearer).

Try =DATE(YEAR(F4)+(DATEDIF(F4,TODAY(),"y")+1),MONTH(F4),DAY(F4))-30
--
David Biddulph

"Ken Lumley" <klu...@lwb.org.au> wrote in message
news:C5755ED2.4CB4%klu...@lwb.org.au...

EggHeadCafe - Software Developer Portal of Choice
RemoteSoft Decompiler,Obfuscator, Protector
http://www.eggheadcafe.com/tutorials/aspnet/10b5293b-f4be-4f40-a40b-1cd879a04420/remotesoft-decompilerobf.aspx

Bob Phillips

unread,
Nov 16, 2009, 7:05:35 AM11/16/09
to
=IF(DATE(YEAR(A2),MONTH(A2),DAY(A2))>TODAY(),
DATE(YEAR(TODAY()),MONTH(A2),DAY(A2)),
DATE(YEAR(TODAY())+1,MONTH(A2),DAY(A2)))-30


--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

<s. suganthi> wrote in message news:2009111634...@yahoo.co.in...

rolwey...@googlemail.com

unread,
Aug 22, 2016, 7:21:39 AM8/22/16
to
I went a slightly different route.

This is based on putting the persons date of birth i.e. 1/1/1980 in B4 and depending on todays date working out if the birthday is this year or next and adding the appropriate year


=IF(DATEVALUE((DAY(B4)&"/"&MONTH(B4)&"/"&YEAR(TODAY())))>TODAY(),DAY(B4)&"/"&MONTH(B4)&"/"& (YEAR(TODAY())),DAY(B4)&"/"&MONTH(B4)&"/"&YEAR(TODAY())+1)

If it works for you then grand.

Auric__

unread,
Aug 22, 2016, 2:46:44 PM8/22/16
to
rolwey.stats wrote:

> I went a slightly different route.

Okay, but... the original post was 8 years ago.

--
Goddammit grad school, you're making me overanalyze funny pictures of cats.

vima...@gmail.com

unread,
Aug 23, 2016, 6:40:09 AM8/23/16
to
=EDATE(A1,CEILING.MATH(YEARFRAC(A1,TODAY()),1)*12)-30

where A1 is the birthdate
Message has been deleted
0 new messages