Return Value based on two criteria

I have a hard time explaining this, but will try my best. I attached a spreadsheet example to illustrate.
I want to lookup a value first based on the customer to return the assigned manager. If there is no Customer, then I want to look at the group to return the assigned manager. What is the best way to go about this. Also, the Manager assigned is a contact in smartsheet.
Answers
-
IF(Customer@row <>"", INDEX({Assigned Manager}, MATCH(Customer@row, {Customer},0), IF(Customer@row ="", INDEX({Assigned Manager}, MATCH(Group@row, {Group},0).
So this basically says exactly what you are looking for. If the columns are labeled 'Customer' and 'Group' in the main sheet, and the columns are named 'Assigned Manager', 'Customer', and 'Group' in the source sheet for the references.
Michelle Choate
michelle.choate@outlook.com
Always happy to walk through any project you need help with! Book time with me here: https://calendly.com/michelle-choate
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.1K Get Help
- 450 Global Discussions
- 155 Industry Talk
- 505 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 80 Community Job Board
- 514 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives