Formula help for a two-column match / mismatch

rogaret

New Member
Joined
Apr 25, 2016
Messages
5
I thought I was on the right track, but have messed it up somewhere.

Sorting based on a match in column C was easy enough, and then I could go down and visually pick out where I had a mismatch in column D. Tried to get a formula in E that would just return a YES in the highlighted rows.

=IF(COUNTIF($C:$C,C2)=1,"",IF(COUNTIFS($C:$C,C2,$D:$D,D2)=COUNTIF($C:$C,C2),"","Yes")) does NOT work, but I think it may only need some minor change to do so...




RepCustomerOrder Num Due DateNo Match
0507075687 12/12/2018
0507075687 12/12/2018
0508231008 12/7/2018
0508231008 12/13/2018
0508780590 12/13/2018
0508780590 12/13/2018
0509178265 12/16/2018
0509178265 12/16/2018
0509861570 12/23/2018
0509861570 12/23/2018
0513386029 12/2/2018
0513386029 12/2/2018

<colgroup><col><col><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
How about
=IF(COUNTIF($C$2:$C$13,C2)< >COUNTIFS($C$2:$C$13,C2,$D$2:$D$13,D2),"Yes","")
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,216,171
Messages
6,129,279
Members
449,498
Latest member
Lee_ray

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