简体   繁体   English

在excel中将一列数据与另外两列不同的列匹配

[英]Matching one column of data with two other different columns in excel

Hi i have three columns嗨,我有三列

ColumnA   COLUMN H   COLUMN G 

I have to write an excel formula in fourth column where it will search for matching values from Column A in Column H and COLUMN G .我必须在第四列中编写一个 excel 公式,它将从Column HCOLUMN G Column A中搜索匹配值。 Like if the value in Column A be present in any one column of A or B it should be Yes otherwise if it is not present then it is no就像Column A的值出现在 A 或 B 的任何一列中一样,它应该是 Yes 否则如果它不存在则它不是

Here what i have tried but not working这是我尝试过但不起作用的方法

= IF(OR(MATCH(A2, $H:$H | $G:$G ,0)),"Yes","No"))

Very poor quality question.质量很差的问题。 Try below formula.试试下面的公式。

=IF(ISNUMBER(IFERROR(MATCH(A1,G:G,0),MATCH(A1,H:H,0))),"Yes","No")

在此处输入图片说明

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

相关问题 如何根据Microsoft Excel中的其他匹配列条件将一列数据拆分为两列? - How to split a column of data into two columns based on other matching column criteria in Microsoft Excel? Excel比较两列,并为匹配的条目显示另一列的打印值 - Excel comparison of two columns and print value of other column for the matching entries 根据一列上的匹配数据对两列数据进行排序 - Sort Data with Two Columns Based on Matching Data on One Column Excel:SUMIF基于两个其他列匹配 - Excel: SUMIF Based on Two Other Columns Matching 在Excel上根据其他列的值过滤数据 - Filter Data on Excel for one column based on values of other columns 如何在Excel中将两列数据添加到一列中? - How to add two columns data to one column in excel? (Excel) 如何将一列配对数据重新编译成两列 - (Excel) How to Recompile One Column of Paired Data into Two Columns 如何通过从其他列中获取匹配数据来自动填充Excel列中的数据 - How to auto fill data in an excel column by taking matching data from other columns 比较两个不同的Excel工作表和工作簿中的列,然后将匹配的值发布到另一列 - Comparing columns in two different excel sheets and workbooks, then posting the matching value into another column 根据匹配的excel列比较两个excel列中的数据 - comparing data in two excel columns based on matching excel columns
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM