How to pull contact name from another sheet, when the contact type matches?

Hi. I have a sheet that is a list of contacts. It has these columns populated with data:

Contact Name Role

My primary project sheet is a list of tasks and includes a column for Role Assigned To and Assigned To Name. The user will enter Role Assigned To on this primary sheet. I want to use a formula in Assigned To Name to go pull the Contact Name from the contact sheet *when the value in Role on the contact sheet matches the value in Role Assigned To in the primary project sheet*.

I've tried using =VLOOKUP([Role Assigned To]@row, {Key Contacts Role Second Try}, 1, false) but that just returns the role, not the name. I need to pull the name from that contacts sheet. Should I be using IF? Or do I just have the VLOOKUP syntax wrong?

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!