EOWEEK formula? require something similar to EOMONTH for a weekly basis

Newport Count

Active Member
Joined
Oct 25, 2009
Messages
328
Hi,

I use the following formula to work out the start (cell A1) and end dates (cell A3) of the previous month, which works perfectly:

cell A1: =EOMONTH(A2,-2)+1
cell A2: =TODAY()
cell A3: =EOMONTH(G4,-1)


I'm trying to do something similar on a weekly basis, but there is no EOWEEK function! I need to display the Monday of the previous week in cell A1 and the Sunday of the previous week in cell A3, based on the current date in cell A2.


Many thanks,
Rich
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Try

Previous Monday
=A2-MOD(A1-2,7)-7
Previous Sunday
=A2-MOD(A2-2,7)-8

Generate some dates and test if it's works.
 
Upvote 0
thanks Special-K99!

I amended your formula to the following (which now works perfectly):
Previous Monday
=A2-MOD(A2-2,7)-7
Previous Sunday
=A2-MOD(A2-2,7)-1

I really appreciate your help - thank you!
 
Upvote 0

Forum statistics

Threads
1,215,824
Messages
6,127,098
Members
449,358
Latest member
Snowinx

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