MAX Value based on Criteria Conditional Formatting

Truiz

Active Member
Joined
Jul 14, 2014
Messages
339
I may be trying to accomplish something fairly easy in a to complicated way, but here is my struggle...

I have a table with Sales data, kinda like this

ABCDE
1IDSales RepInfoInfoSales
2001TonyStuff1Stuff21564
3002MikeStuff3Stuff48645
4003TonyStuff5Stuff618956421
5004MikeStuff7Stuff8486
6005TonyStuff9Stuff10486
7006MikeStuff11Stuff1251468543
8007TonyStuff13Stuff1468421
9008MikeStuff15Stuff166543
10009TonyStuff17Stuff188
11010MikeStuff19Stuff20685463
12011TonyStuff21Stuff225846
13012MikeStuff23Stuff24614683
14013TonyStuff25Stuff26152165
15014MikeStuff27Stuff2813516
16015TonyStuff29Stuff3013652

<colgroup><col style="******* 25pxpx"><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Hoja1
Next to it I have a Data validation list to select the rep I want to highlight so I select from the drop down mike and all the rows with mike get highlighted but now I also want to highlight Mike's MAx and Min Sales Value and of course replicate for Tony... I honestly have cero clue how to do that
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Here is the formula that came from the link (He does a good job in explaining the formula).
Excel Workbook
ABCDE
1IDSales RepInfoInfoSales
21TonyStuff1Stuff21564
32MikeStuff3Stuff48645
43TonyStuff5Stuff618956421
54MikeStuff7Stuff8486
65TonyStuff9Stuff10486
76MikeStuff11Stuff1251468543
87TonyStuff13Stuff1468421
98MikeStuff15Stuff166543
109TonyStuff17Stuff188
1110MikeStuff19Stuff20685463
1211TonyStuff21Stuff225846
1312MikeStuff23Stuff24614683
1413TonyStuff25Stuff26152165
1514MikeStuff27Stuff2813516
1615TonyStuff29Stuff3013652
Sheet
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A21. / Formula is =AND($B2=$G$1,MAX(IF($B$2:$B$16=$G$1,$E$2:$E$16))=$E2)Abc
A22. / Formula is =AND($B2=$G$1,MIN(IF($B$2:$B$16=$G$1,$E$2:$E$16))=$E2)Abc
 
Upvote 0

Forum statistics

Threads
1,215,514
Messages
6,125,271
Members
449,219
Latest member
daynle

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