If Criteria Match , Return yes , no

Velven

New Member
Joined
Nov 30, 2017
Messages
37
What I will fill in D is , If B1 = No , Match A1 with C:C If Match is true , Return Yes , otherwise No . ( Drag down to copy )

Is there any better formula or how do I put it together ?
ABCD
1John@John.comNoCast@cast.com
2michael@michael.comNoRum@rum.com
3R@R.comYesW@w.com
4W@W.comNoF@F.com

<tbody>
</tbody>
 
Last edited:

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Hi, here is one option you can try:


Excel 2013/2016
ABCD
1John@John.comNoCast@cast.comNo
2michael@michael.comNoRum@rum.comNo
3R@R.comYesW@w.comNo
4W@W.comNoF@F.comYes
Sheet1
Cell Formulas
RangeFormula
D1=IF(AND(B1="No",ISNUMBER(MATCH(A1,C:C,0))),"Yes","No")
 
Upvote 0
Hi,

Another way:


Book1
ABCD
1John@John.comNoCast@cast.comNo
2michael@michael.comNoRum@rum.comNo
3R@R.comYesW@w.comNo
4W@W.comNoF@F.comYes
Sheet1
Cell Formulas
RangeFormula
D1=IF(AND(B1="No",COUNTIF(C$1:C$1000,A1)>0),"Yes","No")


D1 formula copied down.
 
Upvote 0

Forum statistics

Threads
1,214,864
Messages
6,121,981
Members
449,058
Latest member
oculus

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top