PC Review


Reply
Thread Tools Rate Thread

birthdays, anniversaries etc

 
 
Mat
Guest
Posts: n/a
 
      29th Aug 2004
Greetings

I am trying to create a simple spreadsheet that I can input a few dates of
important recurring events into (birthdays, anniversaries etc), and excel
will display how long until the next annual occurrence of this event and how
many years it celebrates.

For example, if I have someone's birthday input as 1 November 1984 and I
open the spreadsheet today, I would like to have excel display that there
are 64 days until their birthday and that they will be 20 years old.

Is this possible?

Many thanks for any help.

Regards

Mat


 
Reply With Quote
 
 
 
 
Gord Dibben
Guest
Posts: n/a
 
      29th Aug 2004
Mat

Please do not cross-post. Just fragments answers. Most of the regulars here
monitor all groups.

In answer to your question.....

DATEDIF was described only in Excel 2000 but is available in many versions of
Excel, including 2000.

You do not need any add-ins, should work with normal setup.


=DATEDIF(A1,NOW(),"y") & " years, " & DATEDIF(A1,NOW(),"ym") & " months, " &
DATEDIF(A1,NOW(),"md") & " days"

The above formula will return a string like 42 years, 9 months, 26 days

A1 holds the earliest date.

For more on DATEDIF see Chip Pearson's site.

http://www.cpearson.com/excel/datedif.htm

There are some caveats with DATEDIF.

From a posting by John McGimpsey.........................

However, be very careful about days - DATEDIF() assumes that a month is
as long as the number of days in the first date's month, so if

A1 = 31 January 1980

on 1 March 2005, the result will be:

Age is 25 Years, 1 Months and -2 Days

Some people may not feel -2 days is valid.

Gord Dibben Excel MVP

On Sun, 29 Aug 2004 20:06:04 +0100, "Mat"
<(E-Mail Removed)> wrote:

>Greetings
>
>I am trying to create a simple spreadsheet that I can input a few dates of
>important recurring events into (birthdays, anniversaries etc), and excel
>will display how long until the next annual occurrence of this event and how
>many years it celebrates.
>
>For example, if I have someone's birthday input as 1 November 1984 and I
>open the spreadsheet today, I would like to have excel display that there
>are 64 days until their birthday and that they will be 20 years old.
>
>Is this possible?
>
>Many thanks for any help.
>
>Regards
>
>Mat
>


 
Reply With Quote
 
Sandy Mann
Guest
Posts: n/a
 
      29th Aug 2004
> The above formula will return a string like 42 years, 9 months, 26 days

Happy 43rd birthday in 66 days time Gord! <g>

Sandy

--
to e-mail direct replace @mailintor.com with @tiscali.co.uk

"Gord Dibben" <gorddibbATshawDOTca> wrote in message
news:(E-Mail Removed)...
> Mat
>
> Please do not cross-post. Just fragments answers. Most of the regulars

here
> monitor all groups.
>
> In answer to your question.....
>
> DATEDIF was described only in Excel 2000 but is available in many versions

of
> Excel, including 2000.
>
> You do not need any add-ins, should work with normal setup.
>
>
> =DATEDIF(A1,NOW(),"y") & " years, " & DATEDIF(A1,NOW(),"ym") & " months, "

&
> DATEDIF(A1,NOW(),"md") & " days"
>
> The above formula will return a string like 42 years, 9 months, 26 days
>
> A1 holds the earliest date.
>
> For more on DATEDIF see Chip Pearson's site.
>
> http://www.cpearson.com/excel/datedif.htm
>
> There are some caveats with DATEDIF.
>
> From a posting by John McGimpsey.........................
>
> However, be very careful about days - DATEDIF() assumes that a month is
> as long as the number of days in the first date's month, so if
>
> A1 = 31 January 1980
>
> on 1 March 2005, the result will be:
>
> Age is 25 Years, 1 Months and -2 Days
>
> Some people may not feel -2 days is valid.
>
> Gord Dibben Excel MVP
>
> On Sun, 29 Aug 2004 20:06:04 +0100, "Mat"
> <(E-Mail Removed)> wrote:
>
> >Greetings
> >
> >I am trying to create a simple spreadsheet that I can input a few dates

of
> >important recurring events into (birthdays, anniversaries etc), and excel
> >will display how long until the next annual occurrence of this event and

how
> >many years it celebrates.
> >
> >For example, if I have someone's birthday input as 1 November 1984 and I
> >open the spreadsheet today, I would like to have excel display that there
> >are 64 days until their birthday and that they will be 20 years old.
> >
> >Is this possible?
> >
> >Many thanks for any help.
> >
> >Regards
> >
> >Mat
> >

>



 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      29th Aug 2004
Don't I wish!

You're short by close to 20 years.

Gord

On Sun, 29 Aug 2004 20:55:10 +0100, "Sandy Mann" <(E-Mail Removed)>
wrote:

>> The above formula will return a string like 42 years, 9 months, 26 days

>
>Happy 43rd birthday in 66 days time Gord! <g>
>
>Sandy


 
Reply With Quote
 
Mat
Guest
Posts: n/a
 
      30th Aug 2004
Thanks for the reply. Unfortunately I am running Office XP, any ideas how to
do it in this?

Kind regards

Mat


"Sandy Mann" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> > The above formula will return a string like 42 years, 9 months, 26 days

>
> Happy 43rd birthday in 66 days time Gord! <g>
>
> Sandy
>
> --
> to e-mail direct replace @mailintor.com with @tiscali.co.uk
>
> "Gord Dibben" <gorddibbATshawDOTca> wrote in message
> news:(E-Mail Removed)...
> > Mat
> >
> > Please do not cross-post. Just fragments answers. Most of the regulars

> here
> > monitor all groups.
> >
> > In answer to your question.....
> >
> > DATEDIF was described only in Excel 2000 but is available in many

versions
> of
> > Excel, including 2000.
> >
> > You do not need any add-ins, should work with normal setup.
> >
> >
> > =DATEDIF(A1,NOW(),"y") & " years, " & DATEDIF(A1,NOW(),"ym") & " months,

"
> &
> > DATEDIF(A1,NOW(),"md") & " days"
> >
> > The above formula will return a string like 42 years, 9 months, 26 days
> >
> > A1 holds the earliest date.
> >
> > For more on DATEDIF see Chip Pearson's site.
> >
> > http://www.cpearson.com/excel/datedif.htm
> >
> > There are some caveats with DATEDIF.
> >
> > From a posting by John McGimpsey.........................
> >
> > However, be very careful about days - DATEDIF() assumes that a month is
> > as long as the number of days in the first date's month, so if
> >
> > A1 = 31 January 1980
> >
> > on 1 March 2005, the result will be:
> >
> > Age is 25 Years, 1 Months and -2 Days
> >
> > Some people may not feel -2 days is valid.
> >
> > Gord Dibben Excel MVP
> >
> > On Sun, 29 Aug 2004 20:06:04 +0100, "Mat"
> > <(E-Mail Removed)> wrote:
> >
> > >Greetings
> > >
> > >I am trying to create a simple spreadsheet that I can input a few dates

> of
> > >important recurring events into (birthdays, anniversaries etc), and

excel
> > >will display how long until the next annual occurrence of this event

and
> how
> > >many years it celebrates.
> > >
> > >For example, if I have someone's birthday input as 1 November 1984 and

I
> > >open the spreadsheet today, I would like to have excel display that

there
> > >are 64 days until their birthday and that they will be 20 years old.
> > >
> > >Is this possible?
> > >
> > >Many thanks for any help.
> > >
> > >Regards
> > >
> > >Mat
> > >

> >

>
>



 
Reply With Quote
 
Mat
Guest
Posts: n/a
 
      30th Aug 2004
As you were...

Just noticed from the Pearson site about it being undocumented, but found
out how to use it.

Many thanks for the assistance.


"Mat" <(E-Mail Removed)> wrote in message
news:cgtnm4$j2m$(E-Mail Removed)...
> Thanks for the reply. Unfortunately I am running Office XP, any ideas how

to
> do it in this?
>
> Kind regards
>
> Mat
>
>
> "Sandy Mann" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
> > > The above formula will return a string like 42 years, 9 months, 26

days
> >
> > Happy 43rd birthday in 66 days time Gord! <g>
> >
> > Sandy
> >
> > --
> > to e-mail direct replace @mailintor.com with @tiscali.co.uk
> >
> > "Gord Dibben" <gorddibbATshawDOTca> wrote in message
> > news:(E-Mail Removed)...
> > > Mat
> > >
> > > Please do not cross-post. Just fragments answers. Most of the

regulars
> > here
> > > monitor all groups.
> > >
> > > In answer to your question.....
> > >
> > > DATEDIF was described only in Excel 2000 but is available in many

> versions
> > of
> > > Excel, including 2000.
> > >
> > > You do not need any add-ins, should work with normal setup.
> > >
> > >
> > > =DATEDIF(A1,NOW(),"y") & " years, " & DATEDIF(A1,NOW(),"ym") & "

months,
> "
> > &
> > > DATEDIF(A1,NOW(),"md") & " days"
> > >
> > > The above formula will return a string like 42 years, 9 months, 26

days
> > >
> > > A1 holds the earliest date.
> > >
> > > For more on DATEDIF see Chip Pearson's site.
> > >
> > > http://www.cpearson.com/excel/datedif.htm
> > >
> > > There are some caveats with DATEDIF.
> > >
> > > From a posting by John McGimpsey.........................
> > >
> > > However, be very careful about days - DATEDIF() assumes that a month

is
> > > as long as the number of days in the first date's month, so if
> > >
> > > A1 = 31 January 1980
> > >
> > > on 1 March 2005, the result will be:
> > >
> > > Age is 25 Years, 1 Months and -2 Days
> > >
> > > Some people may not feel -2 days is valid.
> > >
> > > Gord Dibben Excel MVP
> > >
> > > On Sun, 29 Aug 2004 20:06:04 +0100, "Mat"
> > > <(E-Mail Removed)> wrote:
> > >
> > > >Greetings
> > > >
> > > >I am trying to create a simple spreadsheet that I can input a few

dates
> > of
> > > >important recurring events into (birthdays, anniversaries etc), and

> excel
> > > >will display how long until the next annual occurrence of this event

> and
> > how
> > > >many years it celebrates.
> > > >
> > > >For example, if I have someone's birthday input as 1 November 1984

and
> I
> > > >open the spreadsheet today, I would like to have excel display that

> there
> > > >are 64 days until their birthday and that they will be 20 years old.
> > > >
> > > >Is this possible?
> > > >
> > > >Many thanks for any help.
> > > >
> > > >Regards
> > > >
> > > >Mat
> > > >
> > >

> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Anniversaries and Birthdays Joe McGuire Microsoft Outlook Calendar 1 14th Sep 2009 02:33 PM
Birthdays and anniversaries golfpro52 Microsoft Outlook Discussion 1 13th Mar 2008 08:35 PM
Birthdays/Anniversaries =?Utf-8?B?d2llcnNtYTc=?= Microsoft Outlook Calendar 13 19th Sep 2005 01:22 AM
Birthdays and Anniversaries Martin Ibbotson Microsoft Outlook Contacts 1 24th Dec 2003 03:43 AM
Birthdays/Anniversaries Matt Metten Microsoft Outlook Calendar 0 14th Sep 2003 04:33 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:09 AM.