if statement - TEXTJOIN only when the condition is met? -


i tried using textjoin function if in it, somehow doesn't seem work. think i've written formula correctly, doesn't give solution i'm attempting get.

objective: want values a-column printed out when values of b-column matches value of d-column. intended outcome should 1,2,3,6

does know how can done? did wrong? way, i'm using google spreadsheet.

enter image description here

the if giving 1 result, not series of them. need:

=textjoin(" ,",true,arrayformula(if($b$1:$b$20=$d$1,$a$1:$a$20,""))) 

Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -