简体   繁体   English

如何在excel中执行查找以返回多个列和行多个匹配项?

[英]How to perform lookup to return multiple columns and rows multiple matches in excel?

I would like to create a view for a sales report and below shown images gives the representation of the same.我想为销售报告创建一个视图,下面显示的图像给出了相同的表示。 The table in image 1 is the data table and I would like to create a new with lookups or Index match options.图 1 中的表是数据表,我想创建一个带有查找或索引匹配选项的新表。

The expected view of the data is as shown in below picture.数据的预期视图如下图所示。

The name column is being used as a filter.名称列被用作过滤器。

Did you try to use Pivot Table ( Insert > Tables > PivotTable )?您是否尝试使用Pivot TableInsert > Tables > PivotTable )? I think this is a better tool for you to try for your case.我认为这是一个更好的工具让你尝试你的案例。

See the screenshot above, and drag & drop the fields to the places that shows in the pic.请参阅上面的屏幕截图,然后将字段拖放到图片中显示的位置。 You may need to tweak a little bit here and there but this should get you start.您可能需要在这里和那里稍微调整一下,但这应该会让您开始。

A pivot table is the way to go here.数据透视表是这里的方法。

The capabilities of a pivot are huge so the numbers of regions you have shouldn't present an issue.枢轴的功能非常强大,因此您拥有的区域数量不应该成为问题。

Use your main data as a base and ensure there are no empty header cells in the pivot range and you should be able to produce the format you require.使用您的主要数据作为基础,并确保数据透视范围中没有空的标题单元格,您应该能够生成所需的格式。

Good luck祝你好运

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

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