Consistency Check

ekhawaja

Board Regular
Joined
Dec 16, 2018
Messages
60
Office Version
  1. 365
Hello,

I am looking for a formula in col F that checks for consistency by looking up the value from col E , and matching in col B with criteria in col A. If for all the values say "yes" in col A, i would like col G to return yes, otherwise "No" if all of them don't say yes. Data is 1000 of rows that i need to do it on. Thanks in advance.

.

1703616808342.png





QtySS NUMBERSS NUMBERQty Consistency (this is where I need the formula)
Yes
1222706715​
1222706715​
no
Yes
1222706715​
1222534595​
no
1222706715​
1222638861​
No
1222706715​
1222705940​
yes
No
1222706715​
1222705941​
yes
Yes
1222706715​
1222534595​
1222534595​
Yes
1222534595​
1222534595​
No
1222534595​
1222638861​
Yes
1222705940​
Yes
1222705940​
1222638861​
Yes
1222705941​
Yes
1222705941​


l
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
How about
Excel Formula:
=IF(COUNTIFS(B:B,E2,A:A,"<>yes"),"No","Yes")
 
Upvote 0
=IF(COUNTIFS(B:B,E2,A:A,"<>Yes"),"No","Yes")

Copy down.

Book1
ABCDEF
1QtySS NUMBERSS NUMBERQty Consistency (this is where I need the formula)
2Yes12227067151222706715No
3Yes12227067151222534595No
412227067151222638861No
512227067151222705940Yes
6No12227067151222705941Yes
7Yes1222706715
81222534595
91222534595
10Yes1222534595
111222534595
12No1222534595
131222638861
14Yes1222705940
15Yes1222705940
161222638861
17Yes1222705941
18Yes1222705941
Sheet1
Cell Formulas
RangeFormula
F2:F6F2=IF(COUNTIFS(B:B,E2,A:A,"<>Yes"),"No","Yes")
 
Upvote 0
How about
Excel Formula:
=IF(COUNTIFS(B:B,E2,A:A,"<>yes"),"No","Yes")
Thanks @Fluff . I noticed the formula is returning "yes" if the value exists in col E, but doesn't exist in col B, anyway to modify the formula to return "Not Found"?
 
Upvote 0
How about
Excel Formula:
=IF(COUNTIFS(B:B,E2)=0,"not found",IF(COUNTIFS(B:B,E2,A:A,"<>yes"),"No","Yes"))
 
Upvote 1
Solution
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,219
Messages
6,123,678
Members
449,116
Latest member
HypnoFant

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