Selecting names from one workbook and placing them in another workbook.

Tnarg100

New Member
Joined
Jul 18, 2018
Messages
5
Hello experts,

I am hoping that this is not too big an ask? I have a workbook called weekend planning, I was wondering if it would be possible that when I add a date into the cells highlighted then it will cross reference with my engineering rota workbook and workout who is on shift for that date, day shift and night. I found a CSE formula that does what I want and was wondering if this can be done in VBA. The reason I ask is that the Engineering rota is a sheet a month and continues to grow. If possible would like to learn rather then being fed so if someone could give me some pointers as to how to write in VBA that would be great.

=IFERROR(INDEX('July 2018'!$A$4:$A$18, SMALL(IF(1=((--($AH$4='July 2018'!$C$2:$AG$2)) * (--($AI$4='July 2018'!$C$4:$AG$18))), ROW('July 2018'!$A$4:$A$18)-3,""),ROW()-3 )),"")
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

Forum statistics

Threads
1,215,580
Messages
6,125,654
Members
449,245
Latest member
PatrickL

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