在Excel中连接多个单元格的单元格 [英] Concatenate cells from multiple sheets in Excel
本文介绍了在Excel中连接多个单元格的单元格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试使用如何合并列中的行在excel中的一个单元格中,以使
=ConcatenateRange(sheet1:sheet2!B1,",")
但它似乎不起作用。从 sheet1:sheet2!B1
返回?这是一个范围还是别的?
but it doesn't seem to work. What comes back from sheet1:sheet2!B1
? Is it a range, or something else?
推荐答案
这是因为UDF旨在接受单个范围作为输入(,可能由多个单元格组成)。 范围仅限于单张纸上的单元格。您需要修改UDF以处理多个范围。
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.
这篇关于在Excel中连接多个单元格的单元格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文