1st day of month to 'Week Commencing' issue

benicholson100

New Member
Joined
Dec 5, 2019
Messages
6
Platform
  1. Windows
Hi guys,

I am trying to populate cash outflows based on payment date of month (ie 1st, 10th in column G) to weeks (ie week commencing 27th April - always a Monday - in Row 7).

The below image shows my formula works for everything but 1st of the month where the week commencing crosses over a month (e.g. 27th April and 27th July but populates 1st June).

Can anyone help find a way around this?

Many thanks
Ben

Capture.PNG
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Hi Ben,
Would this work [E150]=IF(ISERROR(MATCH($G150,DAY(I$7+{0,1,2,3,4,5,6}),0)),"",$F150)?
 
Upvote 0
A much simpler formula for you, this should work with any day in column G

=IF(OR(DAY(I$7+{0,1,2,3,4,5,6})=$G150),$F150,"")

You will still have missing entries if the day in column G is greater than the last day of a specific month (i.e. payment day of 30 would be missing in Feb).
 
Upvote 0

Forum statistics

Threads
1,214,833
Messages
6,121,867
Members
449,053
Latest member
Mesh

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