基于多列中的单元格找到匹配行值的公式 [英] Formula to find matching row value based on cells in multiple columns

查看:189
本文介绍了基于多列中的单元格找到匹配行值的公式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试查找col4值,在同一行中,col1,col2和col3每个匹配。



我引用了这个 SO Post ,因为它是一个类似的问题,但是该解决方案对我来说不起作用。



我正在搜索具体的 s,具体日期 code>状态 s,并希望返回相应的计数 s。



我的数据需要输出示例:



解决方案

可能不是首选方法,甚至可能不给正确的答案,但对于任何新的数据透视表的人来说,他们越快乐意为自己保存:



表 - 数据透视表(数据透视表),然后单击数据透视表。选择新工作表,或者,如现在的工作表位置F1。将字段从上方框拖到更小的框中,如图所示。其余的只是格式化,除非由 Src All 的特定要求复杂。


I am trying to lookup a col4 value when, in the same row, col1, col2 and col3 each match.

I referenced this SO Post as it is a similar question but that solution is not working for me.

I am searching for specific Sources, on specific Dates, with specific Statuss and want to return the corresponding Counts.

My data with examples of output required:

解决方案

May not be preferred approach and might not even give the correct answer but for anyone new to PivotTables the sooner they are comfortable with them the more effort they are likely to save themselves:

Select your dataset (A1:D16 above), Insert > Tables – PivotTable, PivotTable. Choose New Worksheet or, as here, Existing Worksheet Location F1. Drag the fields from the upper box into the smaller boxes as shown. The rest is just formatting, unless complicated by specific requirements for treatment of Src All.

这篇关于基于多列中的单元格找到匹配行值的公式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆