I'm curious about the best way to search a cell, and if a specific string is found then return a specific value based on an array of outputs. Here's the current formula that I'm trying and I'm not sure what the issue is (I'm on Excel 2019 for Mac if that is a potential issue):
Basically, I would like to search through A1, if a value from column C is found, the return the corresponding value from Column D into column B.
This is my first post, so hopefully I didn't break any rules or guidelines too horrendously, and apologies if I missed anything.
Thanks!
=INDEX($D$2:$D$5,MATCH(TRUE,ISNUMBER(SEARCH($C$2:$C$5,A2)),0)) |
Basically, I would like to search through A1, if a value from column C is found, the return the corresponding value from Column D into column B.
This is my first post, so hopefully I didn't break any rules or guidelines too horrendously, and apologies if I missed anything.
Thanks!