在 Excel 过滤器中创建一对多关系
Create one to many relation in Excel Filter
我正在为我们的产品创建依赖项列表。例如;
*Product 1* uses A.dll, B.dll, C.dll
*Product 2* uses A.dll, D.dll
*Product 3* uses B.dll, C.dll
好吧,当 excel 中的组合框(过滤器)中的用户产品 2 时,依赖项列中必须仅显示 A 和 B dll 名称。
我不想加赞
Product 1 A.dll
Product 1 B.dll
Product 1 C.dll
Product 2 A.dll
Product 2 D.dll
Product 3 B.dll
Product 3 C.dll
我认为它应该在高级过滤器中完成,但我尝试这样做对我不起作用。我选择产品 2 的范围,但它只显示一个依赖 dll 名称
虽然不是 100% 清楚您想要什么...使用简单的辅助列应该可行...
我用的公式(D2然后抄下来):
=COUNTIF(INDEX(J:L,MATCH($G,I:I,0),),C2)>0
现在只需通过仅显示 TRUE
的辅助列对其进行过滤
我正在为我们的产品创建依赖项列表。例如;
*Product 1* uses A.dll, B.dll, C.dll
*Product 2* uses A.dll, D.dll
*Product 3* uses B.dll, C.dll
好吧,当 excel 中的组合框(过滤器)中的用户产品 2 时,依赖项列中必须仅显示 A 和 B dll 名称。
我不想加赞
Product 1 A.dll
Product 1 B.dll
Product 1 C.dll
Product 2 A.dll
Product 2 D.dll
Product 3 B.dll
Product 3 C.dll
我认为它应该在高级过滤器中完成,但我尝试这样做对我不起作用。我选择产品 2 的范围,但它只显示一个依赖 dll 名称
虽然不是 100% 清楚您想要什么...使用简单的辅助列应该可行...
我用的公式(D2然后抄下来):
=COUNTIF(INDEX(J:L,MATCH($G,I:I,0),),C2)>0
现在只需通过仅显示 TRUE