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

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -