Return Maximum Text Value

krllb

New Member
Joined
Jun 10, 2013
Messages
18
Dear Guru's

Good day! Need your help on how to get the cell value (Bin Coordinate) using maximum count with reference to cell Enter Plant (ex. D301). Many thanks in advance.


[TABLE="width: 377"]
<colgroup><col><col><col><col></colgroup><tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD] C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Enter Plant:[/TD]
[TD]D301[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]BIN Coordinate[/TD]
[TD] ????????[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Expected Value:[/TD]
[TD]Y03-A01-01[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]PLANT[/TD]
[TD]BIN Coordinate[/TD]
[TD] Count[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]100D[/TD]
[TD]B01-A01-01[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]100D[/TD]
[TD]B01-A02-01[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]100D[/TD]
[TD]B01-A03-01[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]D301[/TD]
[TD]V94-B01-01[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]D301[/TD]
[TD]V94-B03-01[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD]D301[/TD]
[TD]V94-B04-01[/TD]
[TD="align: right"]11[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD]D301[/TD]
[TD]V94-C04-01[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]13[/TD]
[TD]D301[/TD]
[TD]Y03-A01-01[/TD]
[TD="align: right"]24[/TD]
[/TR]
[TR]
[TD]14[/TD]
[TD]D301[/TD]
[TD]Y04-A01-01[/TD]
[TD="align: right"]16[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Try this array formula in B2
=INDEX(B6:B14,MATCH(MAX(IF(A6:A14=B1,C6:C14)),IF(A6:A14=B1,C6:C14),0))
Ctrl+Shift+Enter, not just Enter

M.
 
Last edited:
Upvote 0
Nvm, solution provided.
 
Last edited:
Upvote 0
@krllb
In future please do not post the same question multiple times. All clarifications, follow-ups, and bumps should be posted back to the original thread. (rule 12 here: Forum Rules).
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,209
Members
453,022
Latest member
RobertV1609

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