crogers111
Technical User
CR2011
Access 2007
I'm looking to create formulas to define/group each week in a month given the month's start date via a parameter. @BegDate
Each week begins on Sunday or the first day of the month for the first week
Each week ends on Satruday or the last day of the month for the final week of the month.
For example for Jan 2015, user would input Jan 1, 2015 in the paramater and I need formulas so I can group the data into the following the weeks:
1/1/2015 - 1/3/2015
1/4/2045 - 1/10/2015
1/11/2015 - 1/17/2015
1/18/2015 - 1/24/2015
1/25/2015 - 1/31/2015
For March 2015 the last week of the month would be: 3/29/2015 - 3/31/2015 (Sunday - Last Day of Month)
I can create a formula for @LastDayofMonth but need help defining the dates for each week.
Thanks
Access 2007
I'm looking to create formulas to define/group each week in a month given the month's start date via a parameter. @BegDate
Each week begins on Sunday or the first day of the month for the first week
Each week ends on Satruday or the last day of the month for the final week of the month.
For example for Jan 2015, user would input Jan 1, 2015 in the paramater and I need formulas so I can group the data into the following the weeks:
1/1/2015 - 1/3/2015
1/4/2045 - 1/10/2015
1/11/2015 - 1/17/2015
1/18/2015 - 1/24/2015
1/25/2015 - 1/31/2015
For March 2015 the last week of the month would be: 3/29/2015 - 3/31/2015 (Sunday - Last Day of Month)
I can create a formula for @LastDayofMonth but need help defining the dates for each week.
Thanks