0

我在想出正确的公式时遇到了很多麻烦......我希望它会很清楚!

我的 Excel 中有 2 张工作表。第一个具有活动 ID(约 500 行)。第二个有所有 ID,活动和非活动,每个成员都有一个美元值(约 1200 行)

我想要的是让 Excel 在第一张表中使用所有活动 ID 中的 ID,在第二张表中找到它并返回 $value。

因此,当我查看工作表 1 时,我会看到与它们各自的 $value 关联的唯一 ID。

谢谢!

4

2 回答 2

1

This can be done with a lookup function, for example Vlookup.

If your IDs are in column A, you can use

=vlookup(A1,'Sheet 2'!$A:$B,2,false)

In Words: Find the value in A1 on Sheet 2 in column A and return what is in column B (the 2nd column).

Copy down.

于 2019-03-14T19:41:22.633 回答
0

您也可以使用 INDEX MATCH 组合(比 Vlookup 更高效)


= INDEX( Column_with_values , MATCH ( cell_with_Active_ID , Column_with_All_IDs )

于 2019-03-14T19:54:09.350 回答