简体   繁体   中英

Find values in multiple columns simultaneously

I have columns A, B, C, and D. I would like to write a formula that would return Yes or No only if the value in column A also appears in columns B, C, and D simultaneously.

在此处输入图片说明

Try the below formula as in image in column E,

=IF(AND(COUNTIF(B:B,A1),COUNTIF(C:C,A1),COUNTIF(C:C,A1)),"Yes","No")

在此处输入图片说明

在单元格 E2 中使用以下公式,然后复制并粘贴到列的其余部分

=if(and(a2=b2,b2=c2,c2=d2),"Yes","No")

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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