Forum Discussion
zlebow380
Aug 15, 2023Copper Contributor
Trying to use AND formula and TEXTJOIN IF - Not Working
I am trying to return multiple values from a table based on two different conditions. In my current formula below it is giving me the return of C5 (month) and C6 (sport), but I want it to return the values that fit C5 and C6 together (only the chosen sports in the chosen month). Any help would be greatly appreciated!
=TEXTJOIN(" , ",TRUE,IF(C5=Sports!B9:B56,Sports!A9:A56,""),IF(C6=Sports!G2:G80,Sports!A2:A56,""))
9 Replies
Sort By
For that to work, he ranges should be the same size, so perhaps
=TEXTJOIN(" , ", TRUE, IF((C5=Sports!B2:B80)*(C6=Sports!G2:G80), Sports!A2:A80, "")