Ranking with TRUE or FALSE and without Skipping numbers (NO DUPLICATES)

Masha92

Board Regular
Joined
Jan 27, 2019
Messages
51
Office Version
  1. 365
Hi everyone,

I am trying to rank data with conditions.

TRUE TRUE5.46E+08
TRUE FALSE31263409
TRUE TRUE58662625
TRUE TRUE2.36E+08
FALSE TRUE23933559
TRUE TRUE44886052

<tbody>
</tbody>

When i rank using sumproducts or countif... it skips numbers. so ideally i get,

TRUE TRUE5456811531
TRUE TRUE312634095
TRUE TRUE586626253
TRUE FALSE235698268FALSE
TRUE TRUE239335596
TRUE FALSE44886052FALSE

<tbody>
</tbody>
My formula is
<u$3:u$8) countif(u$3:u$8,u$3:u$8&""))+1)<u$3:u$8)="" countif(u$3:u$8,u$3:u$8&""))+1)
<u>IF (AND(T3,S3), SUMPRODUCT((U3<U$3:U$8) / COUNTIF (U$3:U$8,U$3:U$8&"")) +1)</u>
<u$3:u$8) countif(u$3:u$8,u$3:u$8&""))+1)
Any help on this? I cannot afford skipping numbers. I.e Number 3 in the previous example should be 2.

Thanks,
Masha</u$3:u$8)></u$3:u$8)>
 
Last edited:
Yea i have been trying for 2 hours. Then i googled and everyone is talking about duplicate numbers! Then i did it with loops in VBA but got rejected... The cool thing about this formula that actually, i have a lot of other conditions, i just presented a sample for simplicity. So now it works with all my conditions and tested fine. :)
 
Upvote 0

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.

Forum statistics

Threads
1,216,028
Messages
6,128,399
Members
449,447
Latest member
M V Arun

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