The correct VLOOPUP formula?
Hello I am needing a formula that will pull an employee level and assign it to the alias listed. I have used differed variations of VLOOKUP and nothing seems to work.
Breakdown:
Sheet #1 will contain a list of an employee alias's, sometimes the alias will be listed multiple times. In the column "Level (Formula)" on sheet #1, I am needing the VLOOKUP formula to pull the level that matches this alias from Sheet #2.
Sheet #1:
Sheet #2 will hold a list of all employee alias's and their matching level. This is where the formula (in sheet #1) will be pulling from.
Sheet #2:
I have tried a variation of formulas:
=VLOOKUP(Alias@row, {Sheet #2 Range 1} + {Sheet #2 range 2}, 2)
=VLOOKUP(Alias@row, {Sheet #2 Range 1}:{Sheet #2 range 2}, 2)
I am not sure how to fix my formula.
Thanks again for the help :)
Answers
-
Hi! This might be a good place to use INDEX/MATCH instead of VLOOKUP.
Try this:
=INDEX({Level Source}, MATCH(Alias@row, {Alias Source}))
Where {Level Source} is the range name for the Level column in your source sheet, and {Alias Source} is the range name for the Alias column in your source sheet.
Hope this helps!
Best,
Heather
-
-
Fantastic! Happy to help.
-
Ok so it works for one employee alias and then spits out the error code "#No Match" when a different alias is listed.
Example:
Not sure why this is happening!
-
Very strange! Are you sure that alias shows up in the source sheet?
-
Hey @BCK Team , @Heather D
Try adding a zero in the MATCH function as the search type
=INDEX({Level Source}, MATCH(Alias@row, {Alias Source},0))
-
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 58 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!