Identifying duplicate values in a range based on another criteria of duplicates

FMulho

New Member
Joined
May 23, 2017
Messages
9
I am trying to find a formula that allows me to do the following in order:
1) If the group ID is the same AND (2) if the Part # is the same as the (3) Part # with the minimum group price, highlight this.

For example below, I want to highlight part # MPN1 because it is has the same GroupID and Part # as the Part with lowest group price for group ABC:

GROUPIDPART #PRICEMIN GROUP PRICE
ABC
MPN11.000.50
ABCMPN10.500.50
ABCMPN41.000.50
DEFMPN32.001.50
DEFMPN32.501.50
DEFMPN51.501.50

<tbody>
</tbody>

Any help is much appreciated!
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Select columns A:C, click Conditional Formatting > New Rule > Use a formula > and enter:

=AND($B1=INDEX($B:$B,MATCH(MIN(IF($A$1:$A$100=$A1,$C$1:$C$100)),IF($A$1:$A$100=$A1,$C$1:$C$100),0)),$A1<>"")

and select your fill color. If you have column D, you can shorten the formula to:

=AND($B1=INDEX($B:$B,MATCH($D1,IF($A$1:$A$100=$A1,$C$1:$C$100),0)),$A1<>"")
 
Upvote 0

Forum statistics

Threads
1,214,643
Messages
6,120,702
Members
448,980
Latest member
CarlosWin

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