textjoin the result of filter function

ExcelNewbie2020

Active Member
Joined
Dec 3, 2020
Messages
293
Office Version
  1. 365
Platform
  1. Windows
i have a current filter function that is working perfectly =FILTER(FILTER(A2:C12,ISNA(MATCH($A$2:$A$12,$L$2:$L$4,0))*(C2:C12>0)),{1,0,1}). How to modify this formula to use textjoin for the result.



hlink.xlsm
ABCDEFGHIJKLMN
1namedeptqtywith filter functionexcluded name
2name1AAA20nameqtyname4
3name2BBB30name120name5
4name3CCC20name230name6
5name4AAA40name320
6name5BBB50name8100
7name6CCC10name1110
8name7AAA
9name8BBB100
10name9CCCExpected result
11name10CCCname1 - 20
12name11AAA10name2 - 30
13name3 - 20
14name8 - 100
15name11 - 10
16
17
18
19
20
21
22
Sheet4
Cell Formulas
RangeFormula
F3:G7F3=FILTER(FILTER(A2:C12,ISNA(MATCH($A$2:$A$12,$L$2:$L$4,0))*(C2:C12>0)),{1,0,1})
Dynamic array formulas.
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
What about this?

23 04 20.xlsm
ABCDEFGHIJKL
1namedeptqtywith filter functionexcluded name
2name1AAA20nameqtyname4
3name2BBB30name120name5
4name3CCC20name230name6
5name4AAA40name320
6name5BBB50name8100
7name6CCC10name1110
8name7AAA
9name8BBB100
10name9CCCExpected result
11name10CCCname1 - 20
12name11AAA10name2 - 30
13name3 - 20
14name8 - 100
15name11 - 10
16
17Result
18name1 - 20
19name2 - 30
20name3 - 20
21name8 - 100
22name11 - 10
23
TEXTJOIN
Cell Formulas
RangeFormula
F3:G7F3=FILTER(FILTER(A2:C12,ISNA(MATCH($A$2:$A$12,$L$2:$L$4,0))*(C2:C12>0)),{1,0,1})
F18:F22F18=FILTER(A2:A12&" - "&C2:C12,ISNA(MATCH(A2:A12,L2:L4,0))*(C2:C12>0))
Dynamic array formulas.
 
Upvote 0
Solution
Here is one option:

Book1
ABCDEFGHIJKL
1namedeptqtyname1 - 20excluded name
2name1AAA20name2 - 30name4
3name2BBB30name3 - 20name5
4name3CCC20name8 - 100name6
5name4AAA40name11 - 10
6name5BBB50
7name6CCC10
8name7AAA
9name8BBB100
10name9CCC
11name10CCC
12name11AAA10
Sheet1
Cell Formulas
RangeFormula
E1:E5E1=FILTER(A2:A12&" - "&C2:C12,NOT(COUNTIF(L2:L4,A2:A12))*C2:C12)
Dynamic array formulas.
 
Upvote 0
What about this?

23 04 20.xlsm
ABCDEFGHIJKL
1namedeptqtywith filter functionexcluded name
2name1AAA20nameqtyname4
3name2BBB30name120name5
4name3CCC20name230name6
5name4AAA40name320
6name5BBB50name8100
7name6CCC10name1110
8name7AAA
9name8BBB100
10name9CCCExpected result
11name10CCCname1 - 20
12name11AAA10name2 - 30
13name3 - 20
14name8 - 100
15name11 - 10
16
17Result
18name1 - 20
19name2 - 30
20name3 - 20
21name8 - 100
22name11 - 10
23
TEXTJOIN
Cell Formulas
RangeFormula
F3:G7F3=FILTER(FILTER(A2:C12,ISNA(MATCH($A$2:$A$12,$L$2:$L$4,0))*(C2:C12>0)),{1,0,1})
F18:F22F18=FILTER(A2:A12&" - "&C2:C12,ISNA(MATCH(A2:A12,L2:L4,0))*(C2:C12>0))
Dynamic array formulas.
yes. this worked. Thank you sir
 
Upvote 0

Forum statistics

Threads
1,215,312
Messages
6,124,192
Members
449,147
Latest member
sweetkt327

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