excel - Excel - Trying to compare two columns worth of data in separate sheets and if they match return a set of data from each sheet
问题描述
I have two sheets of data in the same workbook. If data from Sheet 1 column J, matches data from sheet 2 column F, then i want columns A-I from Sheet 1 + Column C from Sheet 2 added onto a third sheet
解决方案
我有 Excel O365 的解决方案。设置A2
为=FILTER(Sheet1!J:J, (Sheet1!J:J <> "") * NOT(ISNA(MATCH(Sheet1!J2:J, Sheet2!F:F)))
然后设置B2
为=XLOOKUP(A2#,Sheet1!J:J,Sheet1!A:I)
并设置K2
为XLOOKUP(A2#,Sheet2!F:F,Sheet2!C:C)
推荐阅读
- linux - 如何在 alpine 中只安装 mongodb-org-shell 而不是 mongodb?
- f# - F# / Argu - 如何在不引发异常的情况下显示两级命令树的帮助
- python - Pandas:定期检查特定日期是否在索引中,如果没有,则将输入之前的那一天标记为某事?
- sql - 如何使用字符串/数字查找 SQL 中的每个表/列
- wpf - 如何在 WPF ContextMenu 控件中添加不可选择的上下文菜单项作为标题
- python - 如何将python 2.7中的字节数组转换为十进制字符串?
- c# - 如何从其他 API 获得正确响应?
- python - 在正则表达式之后添加新行
- mysql - 在mysql用户定义函数中如何设置动态返回数据类型
- eventbrite - Eventbrite API 获取完整描述