Advanced dynamic array, filter, unique count

Razzy

Board Regular
Joined
Jul 24, 2020
Messages
106
Office Version
  1. 365
Platform
  1. Windows
Hi!

I have received help here on the forum before to create these formulas, but now I am a bit stuck.

I need that the result also takes into account unique types of "type".

The question is simple: "How do I add an extra filter so that it only counts for the unique type?"

It is also possible to use the column named: "Nr." to determine unique types. Then we avoid the problem of "text".

Hope to hear from you!




Mr. Excel sample.xlsx
CDEFGHIJKLMNOPQRST
45Nr.TypeCountDimensionLengthPrefixHelper column - testResultI need it to also filer by:New result
461203Ø40020,40,42,75R0,28164Ø4002
471205Ø50020,50,53,3R0,825Ø500
481213>900cm210,30,43,3F0,20625>900cm2
491213>900cm210,30,53,3F0,38148300X600
501213>900cm210,40,43,3F0,33792
511213>900cm210,40,63,3F0,89232
521213>900cm220,40,42,75F0,2816
531207300X60010,30,62,8O10,567
541207300X60020,30,62,2O10,4455
551207300X60040,30,62,4O10,486
561213>900cm210,30,52,8F0,32368
571213>900cm210,40,42,8F0,28672
581213>900cm210,40,62,8F0,75712
590
600
610
620
630
640
650
660
670
Ark1
Cell Formulas
RangeFormula
K46:K246K46=(F46:F246^2+G46:G246^2)^2*H46:H246
N46N46=IFERROR(SUM(FILTER(SUMIFS(E46:E246,K46#,UNIQUE(FILTER((F46:F246^2+G46:G246^2)^2*H46:H246,E46:E246))),SUMIFS(E46:E246,K46#,UNIQUE(FILTER((F46:F246^2+G46:G246^2)^2*H46:H246,E46:E246)))>2),0)-2*COUNT(FILTER(SUMIFS(E46:E246,K46#,UNIQUE(FILTER((F46:F246^2+G46:G246^2)^2*H46:H246,E46:E246))),(SUMIFS(E46:E246,K46#,UNIQUE(FILTER((F46:F246^2+G46:G246^2)^2*H46:H246,E46:E246)))>2))),0)
P46:P49P46=UNIQUE(D46:D58)
Dynamic array formulas.
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Is this what you are looking for? Since you only provided results for one item, I was not sure
Book15
AB
1TypeData
2Ø4002
3Ø5002
4>900cm29
5300X6007
Sheet2

 
Upvote 0
Hi! I need this formula to also filter / consider the "Nr." column, so the new result becomes 2.

I "just" need to ad an extra filer in the formula below:

Thx! :)

Mr. Excel sample.xlsx
N
464
Ark1
Cell Formulas
RangeFormula
N46N46=IFERROR(SUM(FILTER(SUMIFS(E46:E246,K46#,UNIQUE(FILTER((F46:F246^2+G46:G246^2)^2*H46:H246,E46:E246))),SUMIFS(E46:E246,K46#,UNIQUE(FILTER((F46:F246^2+G46:G246^2)^2*H46:H246,E46:E246)))>2),0)-2*COUNT(FILTER(SUMIFS(E46:E246,K46#,UNIQUE(FILTER((F46:F246^2+G46:G246^2)^2*H46:H246,E46:E246))),(SUMIFS(E46:E246,K46#,UNIQUE(FILTER((F46:F246^2+G46:G246^2)^2*H46:H246,E46:E246)))>2))),0)
 
Upvote 0
It would be easier, if you told us what you are trying to do, rather than rely on us to try & deconstruct your formula.
 
Upvote 0

Forum statistics

Threads
1,214,927
Messages
6,122,309
Members
449,080
Latest member
jmsotelo

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