Speed up rank calculation?

brjohnson

New Member
Joined
Jun 4, 2011
Messages
48
Hi,

I've got a sheet in which I am ranking returns for 61 stocks against each other, assigning 1-61 to each, on a daily basis. This is repeated every day and in my sheet currently I'm doing this from 1/1/2000 - present.

I had no issues with spreadsheet speed until I updated my rank calculation to factor in ties. After doing that a simple sheet update results in a maxed out i7, 8 core CPU with 8 gigs of ram and an SSD hard drive taking somewhere between 10-20 minutes to recalculate.

Any ideas?

Here is the formula I've got in place currently (an example from one cell):
=IFERROR(RANK(BR224,$BR224:$DY224,0)+COUNTIF($BR$195:BR224,BR224)-1,"")

and what I had previously where my CPU's were maxed out for 2 seconds after a change as opposed to 20 minutes:
=RANK(BR224,$BR224:$DY224,0)

Thank you all for your continual help on this forum!
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

Forum statistics

Threads
1,224,598
Messages
6,179,814
Members
452,945
Latest member
Bib195

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