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 - ScrollTo Effect (href to div) -

javascript - ng-class not responding to change in model in Angular? -

javascript - document.registerElement extending HTMLInputElement prototype while using custom tag name to avoid implicit browser style -