Basic excel user - just need help with a formula

rob1234

New Member
Joined
Aug 22, 2021
Messages
4
Office Version
  1. 365
Platform
  1. Windows
client rank.xlsx
ABCDEFG
1Client Fee Recovery Adjusted fee Rank
2D Ltd3,800142%5,396?
3H Ltd6,50074%-?
4I Ltd4,000106%4,240?
5C Ltd3,000103%3,090?
6A Ltd2,400124%2,976?
7G Ltd1,200128%1,536?
8E Ltd1,40088%-?
9J Ltd2,80039%-?
10B Ltd1,20087%-?
11F Ltd800102%816?
12
13
14I want to rank these clients 1 to 10 based firstly on column D 'adjusted fee' column (highest amount first); and when the adjusted fee amount is zero the ranking should then be based on column C 'recovery', highest percentage first.
15
16All Green entries (above 100%) should always be ranked higher than reds
17All red entries (below 100%) should always be ranked lower than greens
18
19What formula can do this?
20
21
22
23Desired result
24
25Client Fee Recovery Adj fee Rank
26D Ltd3,800142%5,3961
27H Ltd6,50074%-9
28I Ltd4,000106%4,2402
29C Ltd3,000103%3,0903
30A Ltd2,400124%2,9764
31G Ltd1,200128%1,5365
32E Ltd1,40088%-7
33J Ltd2,80039%-10
34B Ltd1,20087%-8
35F Ltd800102%8166
36
qusr
Cell Formulas
RangeFormula
D2:D11,D26:D35D2=IF($C2<1,0,$B2*$C2)
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
TEST FILE.xlsm
ABCDE
1ClientFeeRecoveryAdjusted feeRank
2D Ltd38001.4253961
3H Ltd65000.7409
4I Ltd40001.0642402
5C Ltd30001.0330903
6A Ltd24001.2429764
7G Ltd12001.2815365
8E Ltd14000.8807
9J Ltd28000.39010
10B Ltd12000.8708
11F Ltd8001.028166
Sheet5
Cell Formulas
RangeFormula
D2:D11D2=IF($C2<1,0,$B2*$C2)
E2:E11E2=IF(D2>0,RANK(D2,$D$2:$D$11,0),RANK(C2,$C$2:$C$11,0))
 
Upvote 0
Solution

Forum statistics

Threads
1,215,480
Messages
6,125,050
Members
449,206
Latest member
Healthydogs

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