+ Reply to Thread
Results 1 to 2 of 2

List Month names between 2 dates

  1. #1
    Forum Contributor
    Join Date
    08-29-2014
    Location
    Chicago, IL
    MS-Off Ver
    2014
    Posts
    164

    List Month names between 2 dates

    Essentially what I have is a list of employees.

    I would like to list the month name during their start dates and current date.

    For example:

    name / Start date / current date
    jon smith / 4-1-2014 / 1-6/2015

    I would like to have separate sheet where I could drag down and list the months this employee has been employeed (april, may, june, july...)

    thanks.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: List Month names between 2 dates

    Let's say your start date is in B2 and current date in C2.

    In M2 you could enter: =B2 and format as mmmm which would only show the start date MONTH.

    Next, in N2 enter this formula:
    =IF(M2="", "", IF(EOMONTH(M2, 0)+1>$C2, "", EOMONTH(M2, 0) +1)) ...also format this cell as mmmm

    Now copy N2 to the right and all the months will appear, when you start seeing blanks, you're caught up to the current month.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ 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. From A Table Of Names And Birth Dates Pull A List Of Names As Of A Reference Date And Ther
    By rahuleyes in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 17
    Last Post: 11-27-2014, 03:44 PM
  2. Using LOOKUP to assign month names to cells with dates.
    By AndyPandy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-12-2013, 06:06 AM
  3. Counting number of unique dates per month in a list of duplicate dates
    By Rackle83 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-22-2013, 10:15 AM
  4. how can I change the default month names for dates grouping in pivot tables
    By bagullo in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-25-2011, 05:24 AM
  5. Sql query(convert dates to month names)
    By poppy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-20-2005, 04:54 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