Forum Discussion
Clare1487
Dec 05, 2022Copper Contributor
Linking excel workbooks
I have a report that I need to do monthly where one column will include staff members' names a random number of times. I want to autofill the adjacent column with the name of their line manager. Ho...
- Dec 05, 2022
OliverScheurich
Dec 05, 2022Gold Contributor
=INDEX($E$2:$E$27,MATCH(A2,$D$2:$D$27,0))You can try INDEX and MATCH as shown in the screenshot. Alternatives could be VLOOKUP or - if you work with Excel 2016 or later - XLOOKUP. Another alternative could be Power Query.
- Clare1487Dec 05, 2022Copper Contributor
Thank you, your screenshot looks like exactly what I need. I am receiving errors with the formula but will keep trying it, I'm on excel version 2210 with microsoft 365.
- OliverScheurichDec 05, 2022Gold Contributor
- Clare1487Dec 07, 2022Copper ContributorThank you so much for your time! That works perfectly.