Multiple Holidays in NETWORKDAYS function referencing another book

rockja

New Member
Joined
Dec 14, 2010
Messages
7
Hello,

I am trying to find a way to use multiple holidays in the NETWORKDAYS function by referencing another book and using a naming convention. This is a for a time sheet spreadsheet so it will be applied to 12 separate tabs.

Let's say I have a tab named Holidays and in this tab there is a table spanning the 12 months across the top and empty cells below each month column. In the column labeled Jan, which has two holidays listed 1/2/2012 & 1/16/2012, I selected the data cells and named it JanH in Name Manager. This works perfectly fine when using =NETWORKDAYS(1/1/2012,1/31/2012,JanH) .

If I have a separate master workbook listing the holidays in a data table and reference it in my time sheet workbook, excel doesn't like it too much... Does anyone have any thoughts?

Thanks!
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Why do you need to split the holidays into months. Can't you just list all holidays and name that range holidays? It won't matter if you have blanks in the range
 
Upvote 0
That will definitely help reduce the number of defined names, but it still doesn't solve the whole problem. Everything works well if I keep it all in the same workbook, however, if my list of holidays is in a separate workbook (not sheet or tab), Excel errors out the formula.
 
Upvote 0
I feel like an idiot! It was as easy as opening the master workbook when defining the names in the time sheet book.
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,719
Members
452,939
Latest member
WCrawford

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