Forum Discussion
kthersh
Feb 14, 2023Copper Contributor
Adjust a formula to ignore hidden/filtered rows of data
I have a formula already setup to calculate the total occurrences of a unique ID in a column. =SUM(IF(ISNUMBER(A2:A2719)*COUNTIF(A2:A2719,A2:A2719)=1,1,0)) But when I have a filter set on a t...
g0ldfinch
Nov 29, 2023Copper Contributor
I wonder how this can be improved on large datasets (e.g., tens or hundreds of thousands rows). VSTACK, basically, replicates *all* visible elements of a column, which leads to higher memory consumption. On the other hand, using MATCH to identify whether we have the current element 'v' in the accumulator variable 'a' will lead to poor performance due to search being executed on an unordered dataset thousands of times...
SergeiBaklan
Nov 29, 2023Diamond Contributor