+ Reply to Thread
Results 1 to 5 of 5

Anniversary Month How to match

  1. #1
    Registered User
    Join Date
    12-02-2011
    Location
    Maryland
    MS-Off Ver
    Excel 365
    Posts
    42

    Anniversary Month How to match

    Ive tried different variations but none work in all scenarios, to calculate Accrued Leave time.
    In Column A, I have rows of end of month dates listed.
    So A10=1/31/16
    a11=2/28/16
    a21=12/31/16

    Cell A1 has a date of hire date, say, 1/15/16. To complicate things, regardless, of the day in the date of hire, leave does not start until the FOLLOWING month.
    So, in the case above where the date of hire is Jan 15, leave and subsequent month anniversary month would be Feb.

    What Im trying to achieve is an Alert in addresses B10:B21 where the formula would look at the Month alone in A10, and if it equals the (DOH month(A1) plus one month, which would be Feb), "Anniv Month", otherwise "".

    I tried =if(month(a10)=month(a1)+1,"Anniv Month", "") , however, that doesnt work if A1 date of hire is December.

    Hope my ramblings make sense.

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,916

    Re: Anniversary Month How to match

    Not sure I've understood completely, but perhaps this in B10 and copied down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    BSB

  3. #3
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,916

    Re: Anniversary Month How to match

    Or perhaps this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    BSB

  4. #4
    Registered User
    Join Date
    12-02-2011
    Location
    Maryland
    MS-Off Ver
    Excel 365
    Posts
    42

    Re: Anniversary Month How to match

    That seems to fix my DOH month=December dilemma. Thanks so much.
    Yeah, the DAY and YEAR make no difference in what I was trying to achieve. I just wanted to look at the Month in one cell, and when comparing the month(plus one month) in another cell, if it equals then Anniv Month. Thanks again

  5. #5
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: Anniversary Month How to match

    You could also try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Don't know if this will help with your data layout, but to show the month of the anniversary in a text format:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    This will return 'January' if the month of hire was December, for example.
    Please add reputation by clicking on the * if I have helped.
    Please mark the thread SOLVED if your issue has been resolved.
    Thanks, Glenn.

+ 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. [SOLVED] Conditional Formatting, Annually Month Anniversary Change
    By maxwellmays in forum Excel General
    Replies: 7
    Last Post: 06-15-2017, 07:20 PM
  2. Replies: 0
    Last Post: 03-28-2016, 01:35 PM
  3. [SOLVED] Anniversary Dates for Newsletter Need formula to show new year anytime during month
    By scarames in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-03-2016, 01:11 PM
  4. Anniversary dates
    By AnotherDumbAss in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-23-2013, 07:06 PM
  5. [SOLVED] Formula assistance needed to sum data based on anniversary date and month date
    By lilsnoop in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-28-2012, 11:18 PM
  6. My 1st Anniversary
    By Blake 7 in forum The Water Cooler
    Replies: 97
    Last Post: 10-05-2011, 05:11 AM
  7. Calculating Anniversary
    By Penny in forum Excel General
    Replies: 5
    Last Post: 10-07-2005, 11:05 AM

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