Need formula to calculate weekly dates in a month

dandeisel

New Member
Joined
Feb 1, 2017
Messages
16
Hey Guys,

I need some assistance in trying to figure out a formula for the dates in a week excluding Sundays for the whole month.

For example, I want to have a Cell for the person to input the number of the Month i.e. 9 - For September, 10 - For October.

When that is inputted in cell A1 i need cell B3 to calculate the value of the first Wed in that month. In cell E3 should input the Tuesday following in that week. I also need it to know not to include Sundays as a day in the calculation. Here's the tricky part, I need it for each week in that month.

This is a payroll sheet and our pay weeks are from Wed - Tues but were closed on Sunday

I hope you understand what I'm trying to do.
Here's a link to the spreadsheet I'm working on if you wouldn't mind looking at it and helping me.

https://docs.google.com/spreadsheets/d/1VaR2ujA0qK_FnL1kBrqe_vp0M0YpdU6LqKTzc0BLjmo/edit?usp=sharing

Thanks in advance for all your help!
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Upvote 0
AhoyNC!!! You are awesome! Thank you very much that worked!

I really appreciate the time you took to do this for me.

Hope I can one day pay it forward to someone else in need of help.

All the best!
Shadi
 
Upvote 0
You're welcome. Thanks for the feedback. Credit for formula has to go to Barry Houdini.
 
Upvote 0

Forum statistics

Threads
1,223,234
Messages
6,170,891
Members
452,366
Latest member
TePunaBloke

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