Hello,<o
></o
>
I am having a slight problem with an auto-sorting macro onan excel sheet. I have a sheet with aheader on row 2, and columns from A to Q, and the information on rows 3 to22. The issue is coming up from columnsB and C. I need the values in column Cto sort greatest to smallest, and then if there are matching values in column Cbut the values in B are different, I need the sheet to sort greatest tosmallest again.<o
></o
>
Example: In the simplified version of my table below, if the# of stocked Post-Its jumps to 15, I need that moved to the top, but if Reamsof Paper and Post-It’s have the same number of stocked items, but I need 13Reams of Paper, I need that to move above Post-Its. Any help will be greatly appreciated.<o
></o
>
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Names[/TD]
[TD]# of Item Needed[/TD]
[TD]# of Item Stocked[/TD]
[/TR]
[TR]
[TD]Tape[/TD]
[TD]16[/TD]
[TD]14[/TD]
[/TR]
[TR]
[TD]Post-Its[/TD]
[TD]12[/TD]
[TD]11[/TD]
[/TR]
[TR]
[TD]Reams of Paper[/TD]
[TD]12[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]Coffee Filters[/TD]
[TD]11[/TD]
[TD]9[/TD]
[/TR]
</tbody>[/TABLE]


I am having a slight problem with an auto-sorting macro onan excel sheet. I have a sheet with aheader on row 2, and columns from A to Q, and the information on rows 3 to22. The issue is coming up from columnsB and C. I need the values in column Cto sort greatest to smallest, and then if there are matching values in column Cbut the values in B are different, I need the sheet to sort greatest tosmallest again.<o


Example: In the simplified version of my table below, if the# of stocked Post-Its jumps to 15, I need that moved to the top, but if Reamsof Paper and Post-It’s have the same number of stocked items, but I need 13Reams of Paper, I need that to move above Post-Its. Any help will be greatly appreciated.<o


[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Names[/TD]
[TD]# of Item Needed[/TD]
[TD]# of Item Stocked[/TD]
[/TR]
[TR]
[TD]Tape[/TD]
[TD]16[/TD]
[TD]14[/TD]
[/TR]
[TR]
[TD]Post-Its[/TD]
[TD]12[/TD]
[TD]11[/TD]
[/TR]
[TR]
[TD]Reams of Paper[/TD]
[TD]12[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]Coffee Filters[/TD]
[TD]11[/TD]
[TD]9[/TD]
[/TR]
</tbody>[/TABLE]