Drag across to calculate first Monday of each month

accordingly

New Member
Joined
Mar 24, 2017
Messages
3
I need a formula I can drag across multiple columns, which will calculate the first Monday of the month increasing by one month each column. So far I've come up with the following, which seems to work but is over-engineered and I'm worried about it slowing down the rest of my sheet. Does anyone have something better or a way to simplify this?

K1 contains "2018-01-01" (which happens to have been a Monday this year, but this formula would be better if I wasn't relying on a starter hard-coded cell like this)

L1 contains =IF(DAY(EDATE(K1,1)+6)-WEEKDAY(EDATE(K1,1)+6,3)<8,(EDATE(K1,1)+6)-WEEKDAY(EDATE(K1,1)+6,3),(EDATE(K1,1)+6)-WEEKDAY(EDATE(K1,1)+6,3)-7)


Thanks in advance!
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Eric W, I like yours better, but since I went to the trouble of figuring it out, I'll share mine anyway.

​=(EOMONTH(K1,0))+CHOOSE(WEEKDAY(EOMONTH(K1,0),2),7,6,5,4,3,2,1)
 
Upvote 0

Forum statistics

Threads
1,215,066
Messages
6,122,948
Members
449,095
Latest member
nmaske

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top