Subtract 3 business days from date

Jibroni

New Member
Joined
Apr 7, 2022
Messages
25
Office Version
  1. 365
  2. 2021
  3. 2019
Platform
  1. Windows
In column A every cell is a different date. In column B, I want to put in a date that is three business days prior to the date in the other column. For example, if A2 date is 6/5/2022, cell B2 needs to be 6/1/2022 (three business days prior). I need a macro that fills in every cell in column B if column A has a date in it. I assume there is a formula that will work, but when I try this formula for example, "=WORKDAY(F2-3,1)" it returns 6/3/2022, which is not the date I am expecting.
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Hi,

Your formula syntax is incorrect, try this:

Excel Formula:
=WORKDAY(A2,-3)
 
Upvote 0
Solution
Hi,

Your formula syntax is incorrect, try this:

Excel Formula:
=WORKDAY(A2,-3)
Hi @jtakw thank you for catching that. This formula gives me what i need for that specific cell. Is there a formula I can drag down to insert dates in all the cells that have dates in column A?
 
Upvote 0
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,176
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