rocksolid77
New Member
- Joined
- Sep 19, 2011
- Messages
- 18
Hi All,
I've been scouring the internet to try to find something and so far have come up short. I found a very good reference in terms of date functions at http://www.cpearson.com/excel/WeekNumbers.aspx
and
http://www.cpearson.com/excel/DateTimeWS.htm#NthDoW
but it's not quite what I'm looking for. I'm really hoping I'm not asking too much.
Here's what I'd like to do, I'd like to be able to input a date into excel and have it return which week of the month that would fall under. Here's where it gets a little tricky, to stay in line with the the rest of my organization I'd need for weeks to always begin on a Sunday. So far so good... Where it gets tricky is that according to our system Week 1 of the month could potentially begin before the 1st of the month. Ex. Dec. 1st, 2011 falls on a Thursday so week 1 of December would start the previous Sunday, ie: Nov 27th 2011. So basically, day 1 of Week 1 of the month will always be the first Sunday of the week containing the 1st of the month regardless of what day the 1st falls on.
If possible I'd like this to be an in-cell calculation but I'll use VBA if need be.
I feel like I'm asking for a lot but any help will be greatly appreciated!
I've been scouring the internet to try to find something and so far have come up short. I found a very good reference in terms of date functions at http://www.cpearson.com/excel/WeekNumbers.aspx
and
http://www.cpearson.com/excel/DateTimeWS.htm#NthDoW
but it's not quite what I'm looking for. I'm really hoping I'm not asking too much.
Here's what I'd like to do, I'd like to be able to input a date into excel and have it return which week of the month that would fall under. Here's where it gets a little tricky, to stay in line with the the rest of my organization I'd need for weeks to always begin on a Sunday. So far so good... Where it gets tricky is that according to our system Week 1 of the month could potentially begin before the 1st of the month. Ex. Dec. 1st, 2011 falls on a Thursday so week 1 of December would start the previous Sunday, ie: Nov 27th 2011. So basically, day 1 of Week 1 of the month will always be the first Sunday of the week containing the 1st of the month regardless of what day the 1st falls on.
If possible I'd like this to be an in-cell calculation but I'll use VBA if need be.
I feel like I'm asking for a lot but any help will be greatly appreciated!