Workday - Select range of holidays with Vlookup

vadius

Board Regular
Joined
Jul 5, 2011
Messages
70
Hi all

I need your help on the workday function.

For each country in column A, I have a range of holiday dates on the corresponding row (from column B to E for ex)

I would like to use the workday function, and include all the holiday dates corresponding to a country.

I first tried to use vlookup("country name", column A to E, ...) but the problem is that Vlookup returns only one cell value. And I would need it to return the range of holiday dates so that I can upload this range of holiday dates into my workday function.

Do you guys have any ideas how to write this ?

Thanks
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Try this:
OFFSET(A1,MATCH("country name",A:A,0)-1,1,1,4)

The 4 in above formula is for the 4 columns B to E. (Can be changed)
 
Upvote 0

Forum statistics

Threads
1,224,522
Messages
6,179,292
Members
452,902
Latest member
Knuddeluff

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