Rank only if not completed

culle1bj

New Member
Joined
Mar 19, 2015
Messages
4
Hello,

I am trying to rank projects that have not been completed. Once the project has been completed, I do not want to show it as a top priority. Here is the formula I am using:

=IF(T17="COMPLETE","",RANK(DB17,$DB$12:$DB$65,0)+COUNTIF($DB$12:DB17,DB17)-1)

This does not show a rank for completed projects, however, it still includes it in the total rank. For example, if I have 10 projects and 2 are completed, the lowest dollar value is still showing it's rank as 10. I need that to show 8.

Any suggestions?

Thanks,
Brad
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Excel 2010
CDEFG
9Your
10formulanew columnRank on
11with issuenew column
12Complete45   
13128126
14185184
15Complete13
16156155
17781781
18462462
19254253
Rank
Cell Formulas
RangeFormula
E12=IF(UPPER(C12)="COMPLETE","",RANK(D12,$D$12:$D$65,0)+COUNTIF($D$12:D12,D12)-1)
F12=IF(UPPER(C12)="COMPLETE","",D12)
G12=IFERROR(RANK(F12,$F$12:$F$65,0)+COUNTIF($F$12:F12,F12)-1,"")
 
Upvote 0
Here is the formula I am using:

=IF(T17="COMPLETE","",RANK(DB17,$DB$12:$DB$65,0)+COUNTIF($DB$12:DB17,DB17)-1)

Hello Brad,

Change your formula to this in row 12 copied down

=IF(T12="COMPLETE","",COUNTIFS($DB$12:$DB$65,">"&DB12,$T$12:$T$65,"<>COMPLETE")+COUNTIFS($DB$12:$DB12,DB12,$T$12:$T12,"<>COMPLETE"))
 
Upvote 0

Forum statistics

Threads
1,223,243
Messages
6,170,964
Members
452,371
Latest member
Frana

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