[英]Same value in one column and the adjacent column cells have different values, How to put different values of the adjacent column in to a single row?
問題:輸入
XXX a
XXX b
XXX c
我想要以下輸出
XXX a b c
您可以在下面使用此數組公式(同時單擊Ctrl + Shift + Enter ):
=IFERROR(INDEX($B$1:$B$10,SMALL(IF($D1=$A$1:$A$10,ROW($B$1:$B$10),""),COLUMN()-COLUMN($D1)),1),"")
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.