Using WORKDAYS formula with "Holiday" range - not calculating correctly

SelinaR

Board Regular
Joined
Feb 2, 2012
Messages
65
Office Version
  1. 2021
Platform
  1. Windows
  2. Mobile
  3. Web
Hiya

I have read through the forums, but can't seem to find an answer to my unique situation....

Action: I need to calculate 5 working days after a date and include holidays
Formula: Using workdays formula and named my holiday range pubhol18 (I have also tried just selecting the range)
Scenario: 5 working days from 27 December (including 1st of Jan (holiday) = 04/01/2018
Issue:
it's coming back as 03/01/2018?
**PS: I've made sure all my dates are in a date format

Calculation:
[TABLE="width: 500"]
<tbody>[TR]
[TD]27/12/2017[/TD]
[TD]=workdays(A1,5,pubhol18)[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

THANKS IN ADVANCE
Selina
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
That suggests to me that excel is not seeing your holiday date within the period it needs to ignore. WORKDAY does produce 4/1/2018 for the conditions you prescribe.
 
Upvote 0
Hiya
I have tried the WORKDAYS formula without the holiday range for 5 days after 27th of December 2018 and it's still returning to 3rd of Jan 2019
=workday(A1,5)
(A1 being 27/12/2018)
 
Upvote 0
It musn't see the 1st as a working day, as it's a public holiday here in Australia.
 
Upvote 0
Hi,

Double check the Year of the Holiday in your holiday range (i.e. 1/1/2019, and Not 1/1/2018)
 
Upvote 0
:eeek: OMG... yeah - they year was incorrect - all working now :-( #dumbass I copied and pasted the P/Holidays but didn't update the year
thanks for your help - i though I was loosing my mind!
 
Upvote 0
You're welcome, that happens to all of us...
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,198
Members
452,617
Latest member
Narendra Babu D

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