Telendrith
Telendrith

Reputation: 81

List of months between two dates as month & year

How do I get a dynamic list of months down a column between two dates in the month year format in Google Sheets?

example:

Start date: 5/18/2016
End date: 5/24/2019

Jan 2016
Feb 2016
Mar 2016
..
...
May 2019

Upvotes: 6

Views: 1995

Answers (1)

player0
player0

Reputation: 1

=ARRAYFORMULA(UNIQUE(TEXT(TO_DATE(ROW(
 INDIRECT("A"&DATEVALUE(B1)):
 INDIRECT("B"&DATEVALUE(B2)))), "mmm yyyy")))

enter image description here

Upvotes: 7

Related Questions