diversification
New Member
- Joined
- Jun 24, 2020
- Messages
- 37
- Office Version
- 365
- Platform
- Windows
Hi there, I'm trying to write a function that will give me the outputs you see in the yellow cells. I tossed together a quick helper table with the months listed as you see them. My thought was to use a TEXTJOIN function of some sort to pick out relevant months from the helper table and join them, but if it's easier to do without the helper table, that's fine also.
What I'm trying to get the function to do is:
(1) Look at the Start Month, and find that month in Column 1 of the helper table
(2) Look to see if the Start Month needs to be listed twice (Start Month Twice = Yes or No) and either list the start month once or twice.
(3) Return remaining number of months (How Many Months) in order with a comma & space delimiter.
Please note, I need to avoid VBA / Macros, and instead use functions to complete this.
Thanks in advance!
What I'm trying to get the function to do is:
(1) Look at the Start Month, and find that month in Column 1 of the helper table
(2) Look to see if the Start Month needs to be listed twice (Start Month Twice = Yes or No) and either list the start month once or twice.
(3) Return remaining number of months (How Many Months) in order with a comma & space delimiter.
Please note, I need to avoid VBA / Macros, and instead use functions to complete this.
Thanks in advance!
Last edited: