Excel Formula HELP

ItalianPlatinum

Well-known Member
Joined
Mar 23, 2017
Messages
793
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hello,
I am struggling to find a way to get what I need. I need a way to give me a working day, then on Friday's to give me the day before the next business day. The curve ball i can't tackle is if the next day is a holiday to give me the holidays date. here is my data set.

On 03/19/20 Thursday display 03/19/20 (normal working day)
On 03/20/20 Friday display 03/22/20 (normal weekend)
On 12/31/19 Tuesday display 01/01/20 (mid week Holiday)
On 05/22/20 Friday display 05/25/20 (Monday Holiday after weekend)
On 04/09/20 Thursday display 04/12/20 (Friday holiday before weekend)

Thanks in advance
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
could you post representative example for all week days AND expected result via XL2BB ?
 
Last edited:
Upvote 0
I have never done that before. Is there another way you want me to send my example?
 
Upvote 0
Hi

Enter your holidays in D1:D6. You can

Enter the following formula in Cell B2
=WORKDAY(A2,1,$D$2:$D$6)-1

Copy the down the formula to Cell B6

Please see the layout of my spreadsheet below.
1584749855534.png


Kind regards

Saba
 
Upvote 0
Hi

Enter your holidays in D1:D6. You can

Enter the following formula in Cell B2
=WORKDAY(A2,1,$D$2:$D$6)-1

Copy the down the formula to Cell B6

Please see the layout of my spreadsheet below.
View attachment 9426

Kind regards

Saba
Hi Saba that may work. The holidays would need to be entered manually? Does excel have no way to know them?
 
Upvote 0
I think that Excel would not know holidays in a country / state automatically as they vary every year and between countries and states

Kind regards

Saba
 
Upvote 0

Forum statistics

Threads
1,215,036
Messages
6,122,794
Members
449,095
Latest member
m_smith_solihull

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