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

xlmaniac

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

RegionVendor NameStringLead TimePO Count% Mix-PO CountDesired Result
NorthJames AssociateNorthJames Associate2420%
NorthJames AssociateNorthJames Associate41050%4
NorthJames AssociateNorthJames Associate3630%
SouthMascaraSouthMascara51860%5
SouthMascaraSouthMascara41240%

<tbody>
</tbody>

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

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
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,217,398
Messages
6,136,394
Members
450,008
Latest member
guptasweb

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