Any Way to have a Faster Calculating formulae then this one?

Mathman

Board Regular
Joined
Jan 28, 2017
Messages
152
Office Version
  1. 2016
Platform
  1. Windows
I have the following array formulae repeated about 2.2 million times. Any other way to have it written to increase calculation time?





=IF(E5:BB5="","",RANK(E5:BB5,$E5:$BB5,1)+COUNTIFS($E5:$BB5,$E5:$BB5,$BD$3:$DA$3,"<"&$BD$3:$DA$3))




Thank you!
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
what are you trying to do here?

COUNTIFS($E5:$BB5,$E5:$BB5,$BD$3:$DA$3,"<"&$BD$3:$DA$3)) ?
 
Upvote 0
I have a row of 50 results, if any of those results are the same then is will look at a second condition and base the ranking on the second condition.


Hope this helps...
 
Upvote 0
You could sort the data and not need to use Rank at all.

Why do you have an array as the first argument to Rank?
 
Upvote 0
I look at 50 Items, I run a loop that calculates 50K conditions then runs to the next items. When the loop is completes all the data is dumped in another tab. Once in that tab I rank each one of the 50K conditions. I really cant think how I can avoid the ranking if I want the entire process automated. Maybe I'm missing something.

The formulae was written for me by Charles Williams, It's a little over my head and cant quite figure out variations.....
 
Upvote 0
Hi Mathman,
what about this?

=IFERROR(IF(E5="","",RANK.EQ(E5,$E5:$BB5,1)-1+COUNTIF($E5:E5,E5)),"")

it ranks avoiding "repetitions" and is not an array formula.

Hope this helps
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,857
Messages
6,121,948
Members
449,056
Latest member
FreeCricketId

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