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
- 64.8K Get Help
- 437 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives