RankIF Large Set OF Data - Need Formula!

arunrmit

New Member
Joined
Jun 20, 2015
Messages
6
Hi Everyone,

I have a large set of data in my excel spreadsheet with 9800 rows.

I want use RANKIF function by comparing two columns. when I am trying to solve the problem using the below function
=SUMPRODUCT(--(H2=$H$2:$H$9692),--(AZ2<$AZ$2:$AZ$9692))+1
it shows me a value error. I think due to huge set of data because the same formula work fine for smaller set of data.

Is there is any way to solve this issue.

Please help me out!

Thanks in advance :)

Arun
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,210
If you are on a post 2003 system, try:

=COUNTIFS($H$2:$H$9692,H2,$AZ$2:$AZ$9692,">"&AZ2)+1

instead for CountIfs is supposed to have a better temporal (efficiency) score than SumProduct.

You can indeed check for a #VALUE! error with:

=COUNTIFS(AZ:AZ,#VALUE!)

Note. COUNTIFS for ranking (the first formula above) is indifferent to such an error intermixed with other nob-error data..
 

arunrmit

New Member
Joined
Jun 20, 2015
Messages
6
Hello Aladin,

Awesome, =COUNTIFS work for me.

Thank you for your feedback. Much appreciated :)

Arun
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,989
Messages
5,834,737
Members
430,315
Latest member
bobh63

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
Top