Index/Match based on a condition in another cell
Hi,
I'm trying to get INDEX/MATCH to pull in related data (based on Asset #) from different sheets. Here is a sample sheet.
When the user types in the Asset # (TYA10229) the formula pulls the description from another sheet (Roadmap Asset Catalog) based on a matching Asset #. This works great.
Here's what I'd like to do - If the Asset # typed in starts with a "V" look up the description from another sheet. So I'm thinking I could incorporate an IF statement before the INDEX/MATCH formula to look at the Asset # and pull from another sheet if the Asset # starts with a "V".
Will this theory work? Should I use CONTAINS or FIND, VALUE to determine if there is a "V" in the Asset #?
Ideas?
Thanks!
Jeana
Best Answer
-
Try something like this...
=IF(LEFT([Asset #]@row) = "V", first_sheet_index_match, second_sheet_index_match)
Answers
-
Try something like this...
=IF(LEFT([Asset #]@row) = "V", first_sheet_index_match, second_sheet_index_match)
-
That worked and I'll be able to apply it to other scenarios as well.
Thanks!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!