vlookup/index across 2 different sheets
Hi everyone,
I am trying to build out a workflow between two smart sheets - Our end goal is to have a user select from a drop-down list of numbers which once selected will then populate across the columns in the sheet. The sheet with the master data it would be referencing has the same column headers, the challenge I am running into is I need to reference 7 different columns to populate this out. The payroll number column header is the drop down. Thank you in advance!
Answers
-
Hi @alicia151
I would use a index match formula, you will need 7 of them but it will minimise the amount of cells being processed and is cleaner to run than vlookup, also if you ever change the master sheet, add a column etc. it wont break the match like it could with a vlookup.
Below is a example based on your screenshot, this is the correct format but wont work pasted into your sheet straight away as you need to create the ranges
=INDEX({Last name range 1},MATCH([Payroll Number]@row,{Payroll number Range 1},0))
once you create the first formula you can then use it for the other 7 columns, you just need to change the index range '{Last name range 1}' in the example above to be one of the other columns in your master sheet, i.e. {Position range 1} etc.
Hope that helps
Thanks
Paul
-
Hi Paul, thanks for that reply, I'll input it now and let you know :)
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!