Excel: Search for text-string in a row, return value of adjacent column cell (columns will differ frequently) -


i have tried use vlookup, hlookup, lookup, index , match haven't far been able solve problem. want fill column value adjacent value left of string might found in each row. column of interest differs.

e.g. return value of f1 if g1=string, f2 if g2=string, e3 if f3=string, d4 if e4=string

picture

i managed solve by:

=iferror(index($s2:$bj2, match("string", $s2:$bj2,0)-1),"")

now, if want extract 2nd, 3rd , 4th value (if happens more 1 match) adjecent "string" changes have made?


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -