+ Reply to Thread
Results 1 to 13 of 13

Formula to keep track of when to send birthday cards

  1. #1
    Registered User
    Join Date
    12-22-2015
    Location
    Toronto, Ontario
    MS-Off Ver
    MS Office
    Posts
    6

    Red face Formula to keep track of when to send birthday cards

    ... I know, weird question!

    I have a large office where the PM's send out bday cards regularly. I need a formula taking the receivers birthday (example: 31/12/2015, day/month/year) and finding out when I need to send the next card for a 2016 excel workbook. I need to factor in 5 business days for it to arrive on time in the mail.

    I've searched this forum in the past and its always been extremely helpful!! Signed myself up today!

    Thanks and Happy Holiday Season!

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Formula to keep track of when to send birthday cards

    Welcome to the board.

    If you have a file with each employees DoB, you can add a column that calculates their next birthday (on or after today):

    =EDATE(DoB, 12*(DATEDIF(DoB+1, TODAY(), "y") + 1))

    Sort by that and you'll see whose birthdays are coming up.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Formula to keep track of when to send birthday cards

    With the BD in cell A1...

    =WORKDAY(A1,-5,Holidays)

    Format as Date

    Where Holidays is a list of holiday dates to be accounted for in the calculation.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Registered User
    Join Date
    12-22-2015
    Location
    Toronto, Ontario
    MS-Off Ver
    MS Office
    Posts
    6

    Re: Formula to keep track of when to send birthday cards

    shg
    Re: Formula to keep track of when to send birthday cards
    Welcome to the board.
    If you have a file with each employees DoB, you can add a column that calculates their next birthday (on or after today):
    =EDATE(DoB, 12*(DATEDIF(DoB+1, TODAY(), "y") + 1))
    Sort by that and you'll see whose birthdays are coming up.

    Thanks shg!

    I've tried this and formatted the cell to date however it did not work. Where do I put the cell reference in this formula?

  5. #5
    Registered User
    Join Date
    12-22-2015
    Location
    Toronto, Ontario
    MS-Off Ver
    MS Office
    Posts
    6

    Re: Formula to keep track of when to send birthday cards

    I've tried this as well and it did not work. The cell referenced the birthday in date format. Any suggestions?

    Mel

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Formula to keep track of when to send birthday cards

    What version of Excel are you using?

    Both the EDATE function and the WORKDAY function need to have the Analysis ToolPak add-in be installed in Excel versions 2003 and earlier.

  7. #7
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Formula to keep track of when to send birthday cards

    Add the formula:

    Row\Col
    A
    B
    C
    D
    1
    Name
    DoB
    next B'day
    2
    Alan
    25 Aug 1993
    25 Aug 2016
    B2: =EDATE(B2, 12*(DATEDIF(B2+1, TODAY(), "y") + 1))
    3
    Barb
    08 Jan 1991
    08 Jan 2016
    4
    Cain
    08 Jan 1970
    08 Jan 2016
    5
    Dana
    30 Sep 1977
    30 Sep 2016
    6
    Eric
    14 Feb 1960
    14 Feb 2016
    7
    Fran
    30 Sep 1963
    30 Sep 2016
    8
    Gary
    09 Aug 1969
    09 Aug 2016
    9
    Hana
    26 Feb 1973
    26 Feb 2016
    10
    Ivan
    16 Jun 1970
    16 Jun 2016
    11
    Jane
    03 Jul 1995
    03 Jul 2016
    12
    Kent
    04 Nov 1979
    04 Nov 2016
    13
    Leah
    01 Nov 1964
    01 Nov 2016
    14
    Mark
    07 Aug 1982
    07 Aug 2016
    15
    Nina
    02 Dec 1971
    02 Dec 2016
    16
    Otto
    11 Jul 1962
    11 Jul 2016
    17
    Peri
    24 Mar 1965
    24 Mar 2016
    18
    Quin
    22 Sep 1988
    22 Sep 2016
    19
    Rene
    03 Jun 1968
    03 Jun 2016
    20
    Seth
    14 Sep 1967
    14 Sep 2016
    21
    Tina
    24 Dec 1978
    24 Dec 2015
    22
    Ulis
    21 Aug 1967
    21 Aug 2016
    23
    Vera
    17 Jan 1986
    17 Jan 2016
    24
    Wade
    15 Jun 1960
    15 Jun 2016


    Then sort by the Next B'Day column:

    Row\Col
    A
    B
    C
    D
    1
    Name
    DoB
    next B'day
    2
    Tina
    24 Dec 1978
    24 Dec 2015
    C2: =EDATE(B2, 12*(DATEDIF(B2+1, TODAY(), "y") + 1))
    3
    Barb
    08 Jan 1991
    08 Jan 2016
    4
    Cain
    08 Jan 1970
    08 Jan 2016
    5
    Vera
    17 Jan 1986
    17 Jan 2016
    6
    Eric
    14 Feb 1960
    14 Feb 2016
    7
    Hana
    26 Feb 1973
    26 Feb 2016
    8
    Peri
    24 Mar 1965
    24 Mar 2016
    9
    Rene
    03 Jun 1968
    03 Jun 2016
    10
    Wade
    15 Jun 1960
    15 Jun 2016
    11
    Ivan
    16 Jun 1970
    16 Jun 2016
    12
    Jane
    03 Jul 1995
    03 Jul 2016
    13
    Otto
    11 Jul 1962
    11 Jul 2016
    14
    Mark
    07 Aug 1982
    07 Aug 2016
    15
    Gary
    09 Aug 1969
    09 Aug 2016
    16
    Ulis
    21 Aug 1967
    21 Aug 2016
    17
    Alan
    25 Aug 1993
    25 Aug 2016
    18
    Seth
    14 Sep 1967
    14 Sep 2016
    19
    Quin
    22 Sep 1988
    22 Sep 2016
    20
    Dana
    30 Sep 1977
    30 Sep 2016
    21
    Fran
    30 Sep 1963
    30 Sep 2016
    22
    Leah
    01 Nov 1964
    01 Nov 2016
    23
    Kent
    04 Nov 1979
    04 Nov 2016
    24
    Nina
    02 Dec 1971
    02 Dec 2016
    Last edited by shg; 12-22-2015 at 06:22 PM.

  8. #8
    Registered User
    Join Date
    12-22-2015
    Location
    Toronto, Ontario
    MS-Off Ver
    MS Office
    Posts
    6

    Re: Formula to keep track of when to send birthday cards

    shg! Amazing, this worked! Can I trouble you for one more thing? I'd need it to calculate the next birthday (TODAY) minus 5 days. Can it be built into the formula or does this need to be done in a separate column? Preferred would be a single formula.

  9. #9
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Formula to keep track of when to send birthday cards

    Subtract 5 from the result.

  10. #10
    Registered User
    Join Date
    12-22-2015
    Location
    Toronto, Ontario
    MS-Off Ver
    MS Office
    Posts
    6

    Re: Formula to keep track of when to send birthday cards

    I used this formula however it came back with a result 5 months prior to the birthday

    =EDATE(K29, 12*(DATEDIF(K29+1, TODAY(), "y") + 1) - 5)

    I've tried - 5, "d") however this was not valid.

  11. #11
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Formula to keep track of when to send birthday cards

    B2: =EDATE(B2, 12*(DATEDIF(B2+1, TODAY(), "y") + 1)) - 5

  12. #12
    Registered User
    Join Date
    12-22-2015
    Location
    Toronto, Ontario
    MS-Off Ver
    MS Office
    Posts
    6

    Re: Formula to keep track of when to send birthday cards

    shg This has worked and you are amazing!!!! Thank you and Happy Holidays!!!

  13. #13
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Formula to keep track of when to send birthday cards

    You're welcome.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Based on Birthdate in excel , Automatically send outlook mail with birthday wishes
    By ajaypal.sp in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-06-2015, 08:28 PM
  2. Macro to send birthday reminder via outlook email
    By vijanand1279 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-01-2014, 10:29 AM
  3. Replies: 2
    Last Post: 12-10-2013, 02:58 PM
  4. Spreadsheet to track cards given out
    By Jade2013 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-06-2013, 10:02 AM
  5. Macro to send automatic emails on birthday meets with today
    By shekar goud in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-06-2009, 09:04 AM
  6. Getting 106 for Birthday Formula
    By doblesb in forum Excel General
    Replies: 3
    Last Post: 04-21-2006, 02:29 PM
  7. Birthday Formula
    By Joe in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-15-2005, 12:06 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1