+ Reply to Thread
Results 1 to 5 of 5

Extract List of Months Between Two Condition

  1. #1
    Registered User
    Join Date
    08-24-2017
    Location
    DUBAI UAE
    MS-Off Ver
    2021
    Posts
    79

    Extract List of Months Between Two Condition

    I want a formula to list in range A11:A16 the list of months starting from the current month to the month on date B6 at the same time it should not include the month mentioned on the date in B6 only incase the date in B6 starts with date first. e.g if date in B6 is 01-10-2023 (First Of October 2023) then October should not be part of the list in range A11:A16


    test.jpg
    Copy of 001369.xlsx

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Extract List of Months Between Two Condition

    a11:
    =EOMONTH(TODAY(),-1)+1

    A12, copied down:
    =IFERROR(IF(EDATE($A$11,ROWS(A$12:A12))>=$B$6,"",EDATE($A$11,ROWS(A$12:A12))),"")

    format all cells as mmmm. It also works over year ends, as shown in the sheet (I added a few more rows)
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    08-24-2017
    Location
    DUBAI UAE
    MS-Off Ver
    2021
    Posts
    79

    Re: Extract List of Months Between Two Condition

    brilliant brother thank you so much, as usual, amazing result

  4. #4
    Registered User
    Join Date
    08-24-2017
    Location
    DUBAI UAE
    MS-Off Ver
    2021
    Posts
    79

    Re: Extract List of Months Between Two Condition

    Quote Originally Posted by MAJID1479 View Post
    brilliant brother thank you so much, as usual, amazing result
    working perfectly thank you again

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Extract List of Months Between Two Condition

    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. [SOLVED] Rotate List of names bottom to top Repeat without condition with option to set a condition
    By spyac in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-05-2018, 05:17 PM
  2. Extract rows from a list of customers with NO turnover in ALL months
    By Robert1311 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-16-2018, 10:43 AM
  3. [SOLVED] Formula to extract months with highest Sales
    By pwnyadav007 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-13-2016, 01:10 PM
  4. [SOLVED] How i can add a value every 3 months in a full list of 48 months.
    By hbender in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-27-2014, 07:16 AM
  5. Replies: 1
    Last Post: 06-19-2013, 12:49 AM
  6. Using index to return data from list for last 12 months or months available
    By welchs101 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-23-2013, 09:44 AM
  7. Display Months on multiple condition
    By vinaynaran in forum Excel General
    Replies: 5
    Last Post: 09-13-2010, 01:49 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