How in excel to find correct id number from list of different columns to compare to correct cell

*爱你&永不变心* 提交于 2019-12-25 05:50:06

问题


I have for different, for example, languages same id and want to Vlookup or index, match or some other way to find correct translation row and to show corresponding id number from that row. I can do with 1 list but heres example with 3 languages.

How to find correct number for translation and getting correct number?


回答1:


Try the SUMPRODUCT function:

=SUMPRODUCT((G2:I6=C2)*(J2:J6))

Note that SUMPRODUCT function cannot return strings. In order to return strings, I would use the INDEX function:

=INDEX($J$2:$J$6,SUMPRODUCT(($G$2:$I$6=C2)*ROW($J$2:$J$6))-1)



来源:https://stackoverflow.com/questions/42124986/how-in-excel-to-find-correct-id-number-from-list-of-different-columns-to-compare

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!