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
 

Some videos you may like

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,201
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
 

Watch MrExcel Video

Forum statistics

Threads
1,123,312
Messages
5,600,887
Members
414,414
Latest member
neil_c

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