Sorting by Usage then Item ID Based on Location

jalouw

New Member
Joined
Sep 25, 2017
Messages
2
I have a spread sheet that has usage numbers for items based on location of the item being used. I have to sort the spreadsheet to give me the item that has the highest usage for the past 90 days, but then gives me the item ID information for the other branches associated with it. Currently when I sort, it gives me 90 day usage ranked largest to smallest. I want This ranked by usage, then by location. I have given a sample of what I'm getting when I sort. The H2C has usage associated with it at other locations. I want all the 10009513-C and all the usage associated with it at other branches at the top, and so on and so forth going on down.

[TABLE="width: 749"]
<tbody>[TR]
[TD="class: xl63, width: 155"]Item ID[/TD]
[TD="class: xl63, width: 169"]Item Desc[/TD]
[TD="class: xl63, width: 62"]Location ID[/TD]
[TD="class: xl64, width: 98"]Qty On Hand[/TD]
[TD="class: xl64, width: 74"]Minimum[/TD]
[TD="class: xl64, width: 74"]Maximum[/TD]
[TD="class: xl64, width: 117"]Last 90 Day Usage[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 749"]
<colgroup><col><col><col><col><col span="2"><col></colgroup><tbody>[TR]
[TD]10009513 -C[/TD]
[TD]RGX-N-05-986 MALE NIPPLE[/TD]
[TD]580[/TD]
[TD="align: right"]112.00[/TD]
[TD="align: right"]1,120.00[/TD]
[TD="align: right"]2,240.00[/TD]
[TD="align: right"]11,191.00[/TD]
[/TR]
[TR]
[TD]B20-5B-BULK[/TD]
[TD]COUPLER (BP) |P100N[/TD]
[TD]580[/TD]
[TD="align: right"]1,200.00[/TD]
[TD="align: right"]0.00[/TD]
[TD="align: right"]0.00[/TD]
[TD="align: right"]2,300.00[/TD]
[/TR]
[TR]
[TD]PS6905JM-6-6[/TD]
[TD]SWIVEL ASSY |P5YB1[/TD]
[TD]545[/TD]
[TD="align: right"]514.00[/TD]
[TD="align: right"]625.00[/TD]
[TD="align: right"]750.00[/TD]
[TD="align: right"]1,100.00[/TD]
[/TR]
[TR]
[TD]PC306-BP[/TD]
[TD]NON-VALVED COUPLER |P5NB100[/TD]
[TD]585[/TD]
[TD="align: right"]99.00[/TD]
[TD="align: right"]10.00[/TD]
[TD="align: right"]20.00[/TD]
[TD="align: right"]690.00[/TD]
[/TR]
[TR]
[TD]PN353[/TD]
[TD]NON-VALVED NIPPLE |P20NB250[/TD]
[TD]585[/TD]
[TD="align: right"]180.00[/TD]
[TD="align: right"]10.00[/TD]
[TD="align: right"]30.00[/TD]
[TD="align: right"]654.00[/TD]
[/TR]
[TR]
[TD]EZ-251-6MP[/TD]
[TD]COUPLER (OLD # EZ304M-6T) (IL) |P10YB1[/TD]
[TD]545[/TD]
[TD="align: right"]0.00[/TD]
[TD="align: right"]0.00[/TD]
[TD="align: right"]0.00[/TD]
[TD="align: right"]550.00[/TD]
[/TR]
[TR]
[TD]SST-N3M[/TD]
[TD]NON-VALVED NIPPLE |P5YB1[/TD]
[TD]583[/TD]
[TD="align: right"]103.00[/TD]
[TD="align: right"]20.00[/TD]
[TD="align: right"]100.00[/TD]
[TD="align: right"]500.00[/TD]
[/TR]
[TR]
[TD]H2C[/TD]
[TD]NON-VALVED NIPPLE |P20NB200[/TD]
[TD]585[/TD]
[TD="align: right"]293.00[/TD]
[TD="align: right"]200.00[/TD]
[TD="align: right"]300.00[/TD]
[TD="align: right"]453.00[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
I've tried that and it didn't work. It will group the highest usage items together. I need to group by usage then item ID.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,185
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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