date minus one to equal previous weekday

clong

New Member
Joined
Mar 30, 2006
Messages
2
What is a formula I can use that will give me the date of the previous weekday from a date entered in another cell? For example, if I enter Monday's date of 4/3/06 in A1, I would like cell A2 to display Friday's date of 3/31/06.

Thanks!
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
use the workday function

=WORKDAY(E16,-1)

note: you need to have the add-in Analysis Tool-pak turned on for this function. This is a part of the Excel install but doesn't automatically get turned on
 
Upvote 0
Is there anyway to make this work for holidays? I will need the formula to not use Good Friday (4/14/06) as a workday. When I entered the following monday, 4/17/06 and used the WORKDAY formula, it returned 4/14/06.

Thanks!
 
Upvote 0
the other part of the formula is to list holidays. I usually put a tab with the holidays, then point to those dates in the formula

=WORKDAY(E16,-1,Range of holidays)
 
Upvote 0

Forum statistics

Threads
1,221,021
Messages
6,157,447
Members
451,416
Latest member
sara1312

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