Last week start and end dates

craig80

Board Regular
Joined
May 18, 2010
Messages
51
Hello,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
<o:p></o:p>
I am working with EOMONTH and a few other functions. But can't seem to work out how to get last working week.<o:p></o:p>
<o:p></o:p>
I have a Marco that opens some template wbs, pulls data in from a source, then calculates based on dates in predefined fields.<o:p></o:p>
<o:p></o:p>
I want to have these dates to be a working week. i.e Mon-Sunday.<o:p></o:p>
<o:p></o:p>
Can anyone help me with a formula that will fit this requirement.<o:p></o:p>
<o:p></o:p>
Thanks<o:p></o:p>
Craig
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Do you mean last working week - as in last week based on todays date, or last week based on end of month date?

For last Monday and last Friday:
Code:
=TODAY()-WEEKDAY(TODAY(),3)-7

=TODAY()-WEEKDAY(TODAY(),3)-3

For last full week of month:
Code:
=EOMONTH(TODAY(),0)-WEEKDAY(EOMONTH(TODAY(),0),3)-7

=EOMONTH(TODAY(),0)-WEEKDAY(EOMONTH(TODAY(),0),3)-3
 
Upvote 0

Forum statistics

Threads
1,224,599
Messages
6,179,828
Members
452,946
Latest member
JoseDavid

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