Re: Birthday calculations
- From: JC <jhoppyc@xxxxxxxxxxxxxxxxxxx>
- Date: Sun, 26 Feb 2006 23:44:01 +1100
On Sat, 25 Feb 2006 16:01:58 -0600, daddylonglegs
<daddylonglegs.23t2mm_1140905400.8523@xxxxxxxxxxxxxxxxxxxxx> wrote:
Hi JC,
What do you expect the formula to return on 1st March (in a non leap
year) for a 29th February birthdate?
btw you could simpify to
=DATE(YEAR(TODAY())+(TEXT(TODAY(),"mmdd")>TEXT(C3,"mmdd")),MONTH(C3),DAY(C3))-TODAY()
Hi Daddylonglegs,
That depends on what the convention is for those born on 29th Feb. Personally,
I would celebrate my birthday on 28th Feb in non leap years if I was born on
29th Feb thus keeping it in the same month so I would expect the formula to
return 364 days on 1st March but others may celebrate their birthday on 1st
March in which case 365 would be the answer.
I haven't tried your simplified formula yet but don't see how the
IF(TEXT(TODAY(),"mmdd")>TEXT(C3,"mmdd"),1,0) part can be simplified to
(TEXT(TODAY(),"mmdd")>TEXT(C3,"mmdd")). That doesn't make sense to me.
--
Cheers . . . JC
.
- References:
- Birthday calculations
- From: JC
- Re: Birthday calculations
- From: Niek Otten
- Re: Birthday calculations
- From: JC
- Re: Birthday calculations
- From: Niek Otten
- Re: Birthday calculations
- From: daddylonglegs
- Birthday calculations
- Prev by Date: Re: Help Please:( Import Excel Data To Word
- Next by Date: Re: import data greyed out when protection enabled
- Previous by thread: Re: Birthday calculations
- Next by thread: Re: Birthday calculations
- Index(es):
Relevant Pages
|