
Mynda Treacy
Admin

Forum Posts: 4447
Member Since:
July 16, 2010
July 16, 2010

Let's say you want a list of 12 months worth of the first Monday of each month starting with January 2019. First select 12 cells in a column, then enter the following array formula:
=DATE(2019,{1;2;3;4;5;6;7;8;9;10;11;12},1)+6-WEEKDAY(DATE(2019,{1;2;3;4;5;6;7;8;9;10;11;12},1)-1,3)
Press CTRL+SHIFT+ENTER to complete the formula.
Or this one, which uses ROW to generate the array of 1 to 12:
=DATE(2019,ROW(1:12),1)+6-WEEKDAY(DATE(2019,ROW(1:12),1)-1,3)
Also requires CTRL+SHIFT+ENTER to complete the formula.
If you have Office 365 and the new dynamic array formulas you can use this formula with the SEQUENCE function:
=DATE(2019,SEQUENCE(12),1)+6-WEEKDAY(DATE(2019,SEQUENCE(12),1)-1,3)
Mynda
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Roslyn Finlayson, Shanna Henseler, LAN H
Guest(s) 8
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 870
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
John Chisholm
vexokeb sdfg
John Jack
Malcolm Toy
Ray-Yu Yang
George Shihadeh
Naomi Rumble
Uwe von Gostomski
Jonathan Jones
drsven
Forum Stats:
Groups: 3
Forums: 24
Topics: 6210
Posts: 27236
Member Stats:
Guest Posters: 49
Members: 31888
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —
