英文:
How to return unique values on criteria basis but rows concatenated and separated by comma in Google Sheets?
问题
I'm tryng to get this to work, but I keep getting the error:
=ARRAYFORMULA(TEXTJOIN(", ";FALSE;IF(A22:A32=A2:A10;K22:K32;"")))
Array arguments to EQ are of different size
Here is the file with the data, attempt and the expected result:
https://docs.google.com/spreadsheets/d/1gh5w0czg2JuoA3i5wPu8_eOpC4Q4TXIRhmUrg53nKMU/edit?usp=sharing
英文:
I'm tryng to get this to work, but I keep getting the error:
=ARRAYFORMULA(TEXTJOIN(", ";FALSE;IF(A22:A32=A2:A10;K22:K32;"")))
Array arguments to EQ are of different size
Here is the file with the data, attempt and the expected result:
https://docs.google.com/spreadsheets/d/1gh5w0czg2JuoA3i5wPu8_eOpC4Q4TXIRhmUrg53nKMU/edit?usp=sharing
答案1
得分: 1
=map(A2:A19;lambda(Σ;join(", ", unique(filter(K22:K;A22:A=Σ)))))
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论