How To Pick-Up Value Conditionally Against Maximum % Mix?

xlmaniac

Well-known Member
Joined
Jul 2, 2009
Messages
531
Office Version
  1. 2010
Platform
  1. Windows
Dear All,
I do have a sample data-set across A1:F6 as follows:-

[TABLE="width: 615"]
<tbody>[TR]
[TD]Region[/TD]
[TD]Vendor Name[/TD]
[TD]String[/TD]
[TD]Lead Time[/TD]
[TD]PO Count[/TD]
[TD]% Mix-PO Count[/TD]
[TD]Desired Result[/TD]
[/TR]
[TR]
[TD]North[/TD]
[TD]James Associate[/TD]
[TD]NorthJames Associate[/TD]
[TD]2[/TD]
[TD]4[/TD]
[TD]20%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]North[/TD]
[TD]James Associate[/TD]
[TD]NorthJames Associate[/TD]
[TD]4[/TD]
[TD]10[/TD]
[TD]50%[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]North[/TD]
[TD]James Associate[/TD]
[TD]NorthJames Associate[/TD]
[TD]3[/TD]
[TD]6[/TD]
[TD]30%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]South[/TD]
[TD]Mascara[/TD]
[TD]SouthMascara[/TD]
[TD]5[/TD]
[TD]18[/TD]
[TD]60%[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]South[/TD]
[TD]Mascara[/TD]
[TD]SouthMascara[/TD]
[TD]4[/TD]
[TD]12[/TD]
[TD]40%[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

I would like to populate the Leadtime against Same String with the highest % Mix(Po Count).
I have also put the desired result in column G.
For the 1st Set, the formula needs to populate 4 in Cell G3, since %Mix(PO-Count) is the highest (50%)against the Region-Vendor String(NorthJamesAssociate) and corresponding Lead Time is 4.
Could somebody help me out with the formula pls?
Regards
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Try this array formula in G2 copied down
=IF(F2=MAX(IF($C$2:$C$6=C2,$F$2:$F$6)),D2,"")
Ctrl+Shift+Enter

M.
 
Upvote 0
Try this array formula in G2 copied down
=IF(F2=MAX(IF($C$2:$C$6=C2,$F$2:$F$6)),D2,"")
Ctrl+Shift+Enter

M.

Simply amazing solution Marcelo.:)
Thanks a lot for helping me out with the solution.
Really appreciate the same.:)
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,305
Members
452,633
Latest member
DougMo

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