Concatenate cells from multiple sheets in Excel

2019-09-09 13:32发布

I’m trying to use How to merge rows in a column into one cell in excel? to make

=ConcatenateRange(sheet1:sheet2!B1,",")

but it doesn't seem to work. What comes back from sheet1:sheet2!B1? Is it a range, or something else?

标签: excel
1条回答
Melony?
2楼-- · 2019-09-09 14:03

That is because the UDF is designed to accept a single Range as input (which may consist of multiple cells). A Range is limited to cells on a single sheet. You need to modify the UDF to handle multiple ranges.

查看更多
登录 后发表回答