Complex Unique-Filter-Sort Question

ionelz

Board Regular
Joined
Jan 14, 2018
Messages
248
Office Version
  1. 365
Platform
  1. Windows
My Range is E4:H500, with empty rows on bottom
E, F,G is string, H is numeric
I need this :
Filter E4:H500 by :
01. Unique of E4:E500
02. Sort by H4:H500
but here is the problem I have : in H I need the MAX value
So In E say aaa appear 7 times, in H can have different values, I need the MAX value from H
Example
aaa bbbb cccccccc 1
aaa bbbb cccccccc 3
zzz dddd ffffffffffff 2

result is
aaa bbbb cccccccc 3
zzz dddd ffffffffffff 2
 
Is anyway you could add another column sort ?
Now is sorted by column 4 only
Could you add after column 4 sort, column 3 sort ?
 
Upvote 0

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Is this what you mean?

ionelz.xlsm
EFGHIJKLM
1az661bz10050
2az661bz2050
3az183az1040
4az405az666
5bz1006az406
6az472dz1004
7bz10050cz1004
8az1040cz904
9dz1004cz883
10cz904az183
11cz883az472
12az406
13az662
14az666
15cz1004
16bz2050
17
Filter (2)
Cell Formulas
RangeFormula
J1:M11J1=LET(u,UNIQUE(FILTER(E1:H500,H1:H500=MAXIFS(H1:H500,E1:E500,E1:E500,F1:F500,F1:F500,G1:G500,G1:G500))),f,FILTER(u,INDEX(u,0,1)<>0),SORTBY(f,INDEX(f,0,4),-1,INDEX(f,0,3),-1))
Dynamic array formulas.
 
Upvote 0
Solution
Cheers. You're welcome. Thanks for the confirmation. :)
 
Upvote 0

Forum statistics

Threads
1,214,947
Messages
6,122,413
Members
449,082
Latest member
tish101

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