excel - Matching values from multiple columns to populate another -
i trying compare column against column b. when there match, i'd populate resulting column (column d) data column c.
i have partial parts list (column a) comparing against complete parts list (column b). when match occurs, i'd extract corresponding data complete parts list, nomenclature (column c) , place next matching part number in column a.
before
column column b column c column d part number description part number description 123456 bolt 123456
after
column column b column c column d part number description part number description 123456 bolt 123456 bolt
i'll bite, assuming you've mis-labeled examples, want can done enough using formulas.
in cell d2, put formula:
=index(b:b,match(c2,a:a,false))
how works: match
function returns relative row number in column a, , index
function uses row # return value in corresponding row in column b. likewise, do:
=vlookup(c2,a:b,2,false)
Comments
Post a Comment