Calculate UK Bank Holidays

fintail99

New Member
Joined
Apr 4, 2017
Messages
40
Hi there folks,

A1: 01-Sep-23
A2: =NETWORKDAYS(A1,EOMONTH(A1,0))
A3: I would like to identify the number of UK Bank Holidays in this cell

Cell A1 will always contain the 1st day of the month.
Cell A2 calculates the number of Mon-Fri working days until the end of the month. I use the EOMONTH feature to avoid using a separate cell that comprises a date for the end of month.
Cell A3, I would like to identify the number of UK Bank Holidays for the given full month from cell A1.

Would I need a separate sheet to list the number of UK Bank Holidays (eg cell A1: December 2023, cell B1: 2) for the given month, and then use a VLOOKUP (or other) formula to identify? If so, please could you assist with the formula.

Best wishes,
Ketan
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
There are plenty of methods to do this, of which your lookup approach would work.

Another one I could suggest in A3 with your existing formula in A2 is:
Excel Formula:
=A2-NETWORKDAYS(A1,EOMONTH(A1,0),[range_of_cells_containing_UK_bank_holidays])
 
Upvote 1
Solution

Forum statistics

Threads
1,223,877
Messages
6,175,138
Members
452,614
Latest member
MRSWIN2709

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