Auto sort??

falseadvertise

New Member
Joined
May 12, 2011
Messages
10
I am trying to figure out a way to sort a worksheet based on values in two columns. I have columns A-G and rows 5-29 (although i will need to expand on the 29 at some point). The rows need to stay complete so the descriptions and other inputs are not lost.

Columns E and F are the values i want to sort by. they are a range between 0 and 5 (5 being more severe). I want it to sort highest to lowest based on the sum of the inputs in E and F with row E holding more significance. For example, if i have points 3,5 - 3,3 - 5,3 and 4,5 i want to auto sort them as follows: 4,5 - 5,3 - 3,5 - 3,3. Also, i would like to be able to change the values in E and F and have it update the sort automatically.

It is important that my rows stay in tact.

Any ideas?

-Thank you!
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Private Sub Worksheet_Change(ByVal Target As Range) Worksheets("Worksheet Name Here").Activate
Range("Your Data Range Here").Select
Selection.AutoFilter Field:=3, Criteria1:="<>" End Sub
</pre>
 
Upvote 0

Forum statistics

Threads
1,216,772
Messages
6,132,618
Members
449,740
Latest member
tinkdrummer

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