New filter formula, add additional criteria

Razzy

Board Regular
Joined
Jul 24, 2020
Messages
106
Office Version
  1. 365
Platform
  1. Windows
Sample.xlsx
ABCDE
1QuantityA (m)B (m)Hight (m)Type
210,30,23,34F
3150,30,12,19O1
440,30,53,34F
550,30,61,5F
610,30,51F
710,40,81,5F
8320,30,61R
910,30,51F
10
11
124
Ark1 (2)
Cell Formulas
RangeFormula
E12E12=COUNT(UNIQUE(FILTER((B2:B9^2+C2:C9^2)^2*D2:D9,A2:A9>=2)))


Question:
How to add an additional criterion in the filter function? So that the formula returns only for type F.

My rookie suggestion (adding an "AND" situation, did not work):
Sample.xlsx
E
120
Ark1 (2)
Cell Formulas
RangeFormula
E12E12=COUNT(UNIQUE(FILTER((B2:B9^2+C2:C9^2)^2*D2:D9,AND(A2:A9>=2),E2:E9="F")))


hm... :unsure:
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Just a guess

=COUNT(UNIQUE(FILTER(((B2:B9^2+C2:C9^2)^2*D2:D9,A2:A9>=2)*(E2:E9="F"))))
 
Upvote 0
How about
=COUNT(UNIQUE(FILTER((B2:B9^2+C2:C9^2)^2*D2:D9,(A2:A9>=2)*(E2:E9="F"))))
 
Upvote 0
Just a guess

=COUNT(UNIQUE(FILTER(((B2:B9^2+C2:C9^2)^2*D2:D9,A2:A9>=2)*(E2:E9="F"))))

How about
=COUNT(UNIQUE(FILTER((B2:B9^2+C2:C9^2)^2*D2:D9,(A2:A9>=2)*(E2:E9="F"))))


Again, thank you very much.

I will try to make my questions as understandable and meaningful as possible, so that the forum gets something in return for their great efforts.

Thanks! ?
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,214
Messages
6,123,666
Members
449,114
Latest member
aides

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