+ Reply to Thread
Results 1 to 7 of 7

Display the month that will come next from a list of months

  1. #1
    Registered User
    Join Date
    09-05-2023
    Location
    Buenos Aires, Argentina
    MS-Off Ver
    Excel 2021
    Posts
    2

    Display the month that will come next from a list of months

    Hi, I'm looking for a formula that will pick and return the name or number of the month that will come next from a list of months, without using a helper column if possible.

    So the formula should contain the list of months, pick the one that will come next, and display it.

    Suppose the list of months is March and September. From 1st April to 30th September, the formula should return September. From 1st October to 31st December, and from 1st January to 31st March, it should return March.

    Suppose the list of months is January, April, July and October. During February, March and April, it should return April. During May, June and July it should return July. During August, September and October, it should return October. During November, December and January, it should return January.

    The year is irrelevant.

    Any ideas?
    Thank you!

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,627

    Re: Display the month that will come next from a list of months

    Try this formula (with numbers):

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



    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by zbor; 09-06-2023 at 04:04 AM.

  3. #3
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,026

    Re: Display the month that will come next from a list of months

    Another method,
    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: Display the month that will come next from a list of months

    A third option: Please try in G1 and copy down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    09-05-2023
    Location
    Buenos Aires, Argentina
    MS-Off Ver
    Excel 2021
    Posts
    2

    Re: Display the month that will come next from a list of months

    Thanks a lot! All options work perfectly!!

  6. #6
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: Display the month that will come next from a list of months

    You are Welcome!

    Thanks for your feedback, Glad to have helped. .

    If you haven't already, please consider adding reputation to all helpers you think they deserve.
    In that case please click * Add Reputation left below their answers.

  7. #7
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,026

    Re: Display the month that will come next from a list of months

    You are 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. Replies: 2
    Last Post: 04-06-2021, 08:08 AM
  2. Replies: 1
    Last Post: 04-06-2021, 08:06 AM
  3. Replies: 0
    Last Post: 08-16-2020, 12:40 AM
  4. Vba to filter current month, prior month, two months ago and three months ago
    By M7A0S8T8E5R in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-24-2019, 06:56 PM
  5. Replies: 4
    Last Post: 01-30-2019, 12:57 PM
  6. [SOLVED] How to automatically list months preceding a certain month
    By ramatthews in forum Excel General
    Replies: 5
    Last Post: 05-10-2015, 06:17 PM
  7. Replies: 7
    Last Post: 03-02-2011, 08:10 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