简体   繁体   中英

Multiple IF, ARRAYFORMULA, TEXTJOIN Returning FALSE

I'm trying to show sizes available for unique products in one cell. I currently have the following, however, it is returning FALSE in the cells that should be blank.

Returned value: XS,FALSE,FALSE,L,FALSE,FALSE,3XL,FALSE Expected value: XS,L,3XL

=ARRAYFORMULA(TEXTJOIN(",",TRUE,IF($B$2:$B$15>0,IF($A$2:$A$15=A2,$C$2:$C$15,""))))

Example Workbook

Any help is much appreciated!

I think your expected results in rows 10-15 are not correct.

Try this formula

=INDEX(TEXTJOIN(",",1, 
   IF(($A$2:$A$15=A2)*($B$2:$B$15>0),$C$2:$C$15,"")))

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM