excel - How to use a VLOOKUP to get a column value based on another column value? -
i have 2 excel sheets, first 1 looks this:
and second one:
basically, fill in column value in second sheet text answer column in first sheet, when value of question column 3.
if there no condition involved, use vlookup , done, possible conditional vlookup this?
in j2 cell of sheet2
=iferror(index(sheet1!d2:d10,match(true,--(sheet1!b2:b10=sheet2!h2)*sheet1!c2:c10=sumproduct(max((sheet1!b2:b10=sheet2!h2)*sheet1!c2:c10)),0)),"")
array formula requires ctrl+shift+enter instead of normal enter.
Comments
Post a Comment