SUMIFSORT Assistance

Anonnymouse

New Member
Joined
Jun 28, 2023
Messages
21
Office Version
  1. 365
Platform
  1. Windows
Hello MrExcel,

I am wondering if there is a way if cell e has the same vin as any other in cell e it adds the price together and then sorts it in cell h with largest to smallest.

Thanks for the help!

ABCDEFGHIJK
1​
2​
OrderAuction PriceDescriptionDoorsVINTotalDescriptionVIN
3​
12​
100​
BENZ
2​
5050​
350BENZ5050
4​
134​
50​
BENZ
2​
5050​
280CHEVY5020
5​
152​
60​
BENZ
2​
5060​
190HONDA5070
6​
167​
80​
FORD
4​
5010​
110TOYOTA5030
7​
176​
150​
CHEVY
4​
5020​
100FORD5010
8​
124​
20​
FORD
4​
5010​
60BENZ5060
9​
133​
40​
CHEVY
4​
5020​
10​
111​
90​
CHEVY
4​
5020​
11​
108​
110​
TOYOTA
4​
5030​
12​
197​
190​
HONDA
4​
5070​
13​
154​
200​
BENZ
2​
5050​
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Try:

Book1
ABCDEFGHIJK
1
2OrderAuction PriceDescriptionDoorsVINTotalDescriptionVIN
312100BENZ25050350BENZ5050
413450BENZ25050280CHEVY5020
515260BENZ25060190HONDA5070
616780FORD45010110TOYOTA5030
7176150CHEVY45020100FORD5010
812420FORD4501060BENZ5060
913340CHEVY45020
1011190CHEVY45020
11108110TOYOTA45030
12197190HONDA45070
13154200BENZ25050
Sheet1
Cell Formulas
RangeFormula
I3:K8I3=LET(u,UNIQUE(F3:F13),s,SUMIFS(C3:C13,F3:F13,u),SORT(CHOOSE({1,2,3},s,XLOOKUP(u,F3:F13,D3:F13,,0),u),,-1))
Dynamic array formulas.
 
Upvote 1
Solution

Forum statistics

Threads
1,215,135
Messages
6,123,241
Members
449,093
Latest member
Vincent Khandagale

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