Extract records with multiple criteria, slow recalc

•Daniel•

New Member
Joined
Jun 5, 2009
Messages
44
Hello I have this formula

Code:
=INDEX(TAB!$B$3:$B$5390,AGGREGATE(15,6,(ROW(TAB!$B$3:$B$5390)-ROW(TAB!$B$3)+1)/(--ISNUMBER(FIND($B$1:$F$1,TAB!$B$3:$B$5390))),ROWS(A$5:A5)))

List of codes = TAB!$B$3:$B$5390
List of strings to filer extract from list of codes = $B$1:$F$1

So my list of codes loook like this:

[TABLE="width: 177"]
<tbody>[TR]
[TD="width: 177"]0101006-33-16407-TORRE
[/TD]
[/TR]
</tbody>[/TABLE]
0101006-1738-15518-TORRE
[TABLE="width: 177"]
<tbody>[TR]
[TD="width: 177"]0102005-6-6268-TORRE[/TD]
[/TR]
</tbody>[/TABLE]

What I do is type in the range $B$1:$F$1: 0101, 0102005

I use the formula and I get a list of all 0101.... and, 0102005.....

I repeat this in another column, this will be a column of exceptions, then I use a similar formula in a third column to get all of the 1st columns record minus the exceptions.

It all works fine except for the recalculation delay, is there a way or a different way in which I can speed this process, maybe with dynamic tables? or only trought VBA?
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
I just realize I can have the following case,

I want all records which start with 0106, except the family of 0106009, but of that family of 0106009 I want to keep the 0106009-856 ones, so in my method I will add a column of exceptions to exceptions then in another column I will extract the exceptions records minus exceptions to exceptions, which will slow down my calculations further :(
 
Upvote 0

Forum statistics

Threads
1,223,262
Messages
6,171,080
Members
452,377
Latest member
bradfordsam

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