Alternative to rows(unique(filter()))?

RattlingCarp3048

Board Regular
Joined
Jan 12, 2022
Messages
172
Office Version
  1. 365
Platform
  1. Windows
i have a document with about 45-ish columns full of formulas. All of them are simple vlookups or countifs or sumifs or a nested combination except for 2 columns where i have the rows(unique(filter())) formula. the calculation speed has dramatically decreased since adding this formula in (it was excellent before these 2 formulas), sometimes to the point where i have to close and reopen the document several times. is there an alternative way to count unique values without removing the duplicates that would help to increase the calculation speeds?

the raw data that these 2 formulas are calculating has about 30,000-ish rows. I cannot remove duplicates from the raw data and just need these 2 particular columns to count the rows if it matches the given criteria minus any duplicates. here are the 2 formulas:

ROWS(UNIQUE(FILTER(IHC!A:A,(IHC!M:M=Summary!B5)*((IHC!I:I="Open")+(IHC!I:I="Processing")))))

ROWS(UNIQUE(FILTER(IHC!A:A,(IHC!M:M=Summary!B5)*((IHC!I:I="Closed Out/Failed QC")+(IHC!I:I="Closed Out/Pass QC")))))
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Do not use whole column references, especially in array formulae, they will always drag your workbook down.
Use a range that is more than enough, without going over the top.
 
Upvote 0
Solution
thanks fluff. sometimes its the small things that i forget to try. its back to regular operating speeds. (y)
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,734
Messages
6,126,545
Members
449,316
Latest member
sravya

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