Excel matching multiple cells for duplicates -
i need populate cell result either valid or error based on following criteria. i'm not sure if using match, lookup formulas work problem.
given
b c +-----------+-----------+---------- 1 | intref | value | result 2 |-----------|-----------+---------- 3 | r01 | value 123 | success (because b4 matches b3) 4 | r01 | value 123 | success (because b3 matches b4) 5 | r02 | value abc | failed (because b6 differs b5) 6 | r02 | value xyz | failed (because b5 differs b6) success criteria
scan each intref (a) column duplicate keys. match on row check value column (b). matching cells have the same value set result cell (c) success.
failed criteria
scan each intref (a) column duplicate keys. match on row check value column (b). matching cells have a different value set result cell (c) failed.
i sure there formula can entered each cell of column c lookup each intref cross referencing contents of column b match occurs. going beyond excel formula knowledge.
is possible create , formulate calculation of success/failed criteria (column c)?
this appears trick...
{=if(count(if($b$3:$b$6=b3,if($c$3:$c$6=c3,1)))=countif($b$3:$b$6,b3),"success","failed")} note that's array lookup formula (meaning need hit ctrl+shift+enter when entering it).
this formula counts number of times , b column values appear , compares number of times column value appears. if 2 counts match, have success.
Comments
Post a Comment