which formula to use for automatic ranking status

mooney0001

New Member
Joined
Oct 26, 2006
Messages
2
Could you tell me the formula to use in ranking, i will specify, on the spread i have multiple rows with names, based on 2 totals example Total P and Total bb these totals will determine the rank of names and automatically put the names in order according to the to totals, the total for P is manually put in and the total for bb is manually put in.
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
So....based on the inputs of Total P and Total bb, how is the total (on which the rank is based) calculated? Is it just Total P + Total bb? Or is there some weighting?

Perhaps you can provide an example...
 
Upvote 0
You could easely record a macro by
Data- sort - .... etc.

Something like this

Sub Makro1()
Range("A1:C5").Select
Selection.Sort Key1:=Range("B2"), Order1:=xlAscending, Key2:=Range("C2") _
, Order2:=xlAscending, Header:=xlGuess, OrderCustom:=1, MatchCase:= _
False, Orientation:=xlTopToBottom
End Sub

P in column B and
bb in column C

And then add a button for it in the worksheet.

Pekka

:eek: :eek:
 
Upvote 0

Forum statistics

Threads
1,215,516
Messages
6,125,285
Members
449,218
Latest member
Excel Master

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