Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我了解单元格可以与以下内容合并:
=B2&", "&C2
这适用于 B 列中与 C 列中的单元格不同的单元格。
但是,如果单元格相同,我只想输出 B 列中单元格的内容。
这在 Excel 2010 中可行吗?
如何使用If公式:
If
=If(B2=C2,B2,B2&", "&C2)