Max value from array with multiple reference instances

leebauman

Board Regular
Joined
Jul 1, 2004
Messages
194
Office Version
  1. 365
Platform
  1. Windows
Looking for max value from an array containing multiple instances. Example below. Thanks!

Sample:
Book2
AB
1ItemPrice
2Apple1
3Banana2
4Apple3
5Pear4
6Orange5
7Apple6
8Banana7
9Orange8
Sheet1


Desired output:
Book2
AB
1ItemPrice
2Apple6
3Banana7
4Pear4
5Orange5
Sheet2
 

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:
Excel Formula:
=MAXIFS($B$2:$B$9, $A$2:$A$9, D2)

I put unique values in range D2:D5 and the formula should go on range E2:E5
 
Upvote 0
Another option
Excel Formula:
=MAX(FILTER(Sheet1!B2:B10,Sheet1!A2:A10=A2))
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,212,931
Messages
6,110,745
Members
448,295
Latest member
Uzair Tahir Khan

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