[英]Is there a Google Sheets formula that can take a range of cells, and list all the cells in one separate column, alphabetically?
[英]Google Sheets - Formula to Concatenate Text in Range of Cells based on Numeric Value in Corresponding Range of Cells
没关系,我只是想通了。 我不得不将上面的公式更改为:
=textjoin(" + ", TRUE, arrayformula(IF($B7:$G7=1, $B$1:$G$1,"")))
安东尼,
如果我正确理解了您想要组合的内容,另一种选择是使用CONCATENATE + IF 。
我需要合并 5 列,但在单元格包含特定数据时做笔记(例如,当 X 在单元格中时,不是合并列而是写注释)。 并且 CONCATENATE + IF 的组合有效。
我在这里找到了这个解决方案。
希望它会有所帮助:)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.