Less "Heavy" Formula

Joe Galvan

Board Regular
Joined
Jun 24, 2008
Messages
152
Hi All,

I have a formula that, due to the amount of rows I have (2K+), takes a long time to calculate. . .

Formula:

{=SUM(IF(FREQUENCY(IF($C$5:$C$9537=$P96,IF($D$5:$D$9537>$R$2,MATCH($H$5:$H$9537,$H$5:$H$9537,0))),ROW($H$5:$H$9537)-ROW($H$5)+1),1))}

Basically the formula counts unique entries, based on 2 criteria points that have to be met.

Any Ideas on how I can make this formula "lighter" but still do the same thing?


thanks...
JOE
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Forum statistics

Threads
1,224,560
Messages
6,179,520
Members
452,921
Latest member
BBQKING

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