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!
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.4K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 145 Just for fun
- 62 Community Job Board
- 464 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives