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
- Customer Resources
- 65.9K Get Help
- 429 Global Discussions
- 147 Industry Talk
- 487 Announcements
- 5.2K Ideas & Feature Requests
- 86 Brandfolder
- 151 Just for fun
- 74 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 305 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!