简体   繁体   English

Excel - 索引匹配公式

[英]Excel - Index Match formula

在此处输入图片说明

Here what I have =INDEX(C:C,MATCH(G2,N:N,0)) but i know this wrong这里我有=INDEX(C:C,MATCH(G2,N:N,0))但我知道这是错误的

I want to match by player name, team, wOBA ,Iso from left side (columns AI) to the right side (columns N - Q).我想按球员姓名、球队、wOBA、Iso 从左侧(列 AI)到右侧(列 N - Q)进行匹配。 Thanks for your help!谢谢你的帮助!

I assume from your pictures that you want to get TEAM, wOBA, iso from the name in column N.我假设从您的图片中您想从 N 列中的名称中获得 TEAM、wOBA、iso。

If so, do this:如果是这样,请执行以下操作:

=INDEX(B:B,Match(N2,$C:$C,0))

then adjust for other columns.然后调整其他列。

If that is not your exact need, you can certainly see how this one works and modify as needed.如果这不是您的确切需求,您当然可以看到它的工作原理并根据需要进行修改。

You could also get fancy and use one formula to drag through all your data set:您也可以花哨并使用一个公式来拖动所有数据集:

=INDEX($A$1:$I$9,MATCH($N2,$C$1:$C$9,0),MATCH(O$1,$A$1:$I$1,0))

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM