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

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
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,224,597
Messages
6,179,813
Members
452,945
Latest member
Bib195

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