Forum Discussion
AUTOFILL SPECIFIC DAY OF WEEK DATE IN CELL
- Jan 26, 2023Your examples are always three days apart, with you entering a Wednesday date and the system generating the Saturday date. If that's all you're doing then the formula in cell I3 would be as simple as =D3+3 and then just format the cell as a short date.
If that's not the answer you're seeking, please come back and explain more fully; it would also be helpful if you could describe briefly the whole purpose of the workbook.
Please don't give up on me. Thank you again for your help and expertise.
Here's a formula that will return the date of the first Wednesday of any month in any year.
=LET(FstDa,DATE(CurrYr,CurrMo,1),FstDa+CHOOSE(WEEKDAY(FstDa),3,2,1,0,6,5,4))
That formula requires a relatively new version of Excel (in order for the LET function to work).
If you don't have a new enough version of Excel, this formula will work:
=DATE(CurrYr,CurrMo,1)+CHOOSE(WEEKDAY(DATE(CurrYr,CurrMo,1)),3,2,1,0,6,5,4)
In those formulas, you can substitute cell references containing the current year and current month for the text reading "CurrYr" and "CurrMo" or -- preferable -- use named ranges.
I've attached a spreadsheet with both of these formulas working. I'll leave it up to you to complete the rest of your spreadsheet.
- Jacques_MaritzJan 23, 2024Copper Contributor
mathetes can you assist with a formula to fill columns with dates for only Monday and Thursday every week.
- mathetesJan 23, 2024Silver Contributor
I modified the earlier formula so it gives you the first Monday in any given month. From that starting point, it's easy to add 3 for the next Thursday, then 4 for the next Monday. And repeat.