How to align matching values in two columns in Excel, and bring along associated values in other columns

前端 未结 2 1108
北恋
北恋 2021-02-14 14:56

I want to know how to align values in one column with matching values in another column, as shown in How to align duplicates on the same rows in Excel, but also carry over assoc

2条回答
  •  别那么骄傲
    2021-02-14 15:10

    assuming the item numbers are unique, a VLOOKUP should get you the information you need.

    first value would be =VLOOKUP(E1,A:B,2,FALSE), and the same type of formula to retrieve the second value would be =VLOOKUP(E1,C:D,2,FALSE). Wrap them in an IFERROR if you want to return anything other than #N/A if there is no corresponding value in the item column(s)

提交回复
热议问题