formula to get previous week Monday's date

ashani

Active Member
Joined
Mar 14, 2020
Messages
347
Office Version
  1. 365
Platform
  1. Windows
Hi experts,

I wonder if someone could help me please, I'm looking for a formula to get Previous week's Mondays date automatically based on the date in the cell A1.

Your help will be much appreciated.

Many thanks,
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Try this:
Excel Formula:
=A1-WEEKDAY(A1,3)-7
 
Upvote 0
How about
Excel Formula:
=WORKDAY.INTL(A1-WEEKDAY(A1,2),-1,"0111111")
 
Upvote 0
Formula is DateCell - (WEEKDAY(DateCell) + 5)
If Cell A1 contains a date
In Cell A2 enter =A1 - (WEEKDAY(A1)+5)

GetLastRow.xlsm
ABCD
53DATEDOWPREV MONNEW DATE DOW
547/18/202337/10/20232
557/19/202347/10/20232
567/20/202357/10/20232
577/21/202367/10/20232
587/22/202377/10/20232
597/23/202317/17/20232
607/24/202327/17/20232
Sheet1
Cell Formulas
RangeFormula
B54:B60,D54:D60B54=WEEKDAY(A54)
C54:C60C54=A54 - (5+WEEKDAY(A54))
 
Upvote 0
Perfect - thank you so much for your prompt reply.
You are welcome.

I assume you mean replies, as you actually have 3 replies/feasible solutions!
;)
 
Upvote 0
Note the WORKDAY.INTL and WEEKDAY Functions provided above failed when the source date is a Sunday.
DATEDOWPREV MONNEW DATE
DOW
=WEEKDAY
Function
NEW DATE
DOW
=WORKDAY.INTL
Function
NEW DATE
DOW
7/18/202337/10/202327/10/202327/10/20232
7/19/202347/10/202327/10/202327/10/20232
7/20/202357/10/202327/10/202327/10/20232
7/21/202367/10/202327/10/202327/10/20232
7/22/202377/10/202327/10/202327/10/20232
7/23/202317/17/202327/10/202327/10/20232
7/24/202327/17/202327/17/202327/17/20232
 
Upvote 0
Note the WORKDAY.INTL and WEEKDAY Functions provided above failed when the source date is a Sunday.
DATEDOWPREV MONNEW DATE
DOW
=WEEKDAY
Function
NEW DATE
DOW
=WORKDAY.INTL
Function
NEW DATE
DOW
7/18/202337/10/202327/10/202327/10/20232
7/19/202347/10/202327/10/202327/10/20232
7/20/202357/10/202327/10/202327/10/20232
7/21/202367/10/202327/10/202327/10/20232
7/22/202377/10/202327/10/202327/10/20232
7/23/202317/17/202327/10/202327/10/20232
7/24/202327/17/202327/17/202327/17/20232
Ah yes, good catch! I missed that.
 
Upvote 0
That just depends on what is meant by "the previous week". To me Sunday is the end of the week (hence the weekend) so the correct answer would be the 10th & not the 17th.
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,165
Members
453,021
Latest member
Justyna P

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