我在Excel电子表格中有40列和几百行。如果范围中只有一个单元格具有值,如何将单元格区域中的值复制到另一个单元格?
Range C6:AQ6, C7:AQ7, C8:AQ8, and so on
CASE 1: Only one cell in the range D6:AQ6 usually contains a value.
CASE 2: In some rare cases, more than one cell OR no cells contain a value in this range.
这是我想要完成的任务:
If CASE 1: Populate the cell C6 with the value in the only cell in the range D6:AQ6.
If CASE 2: Leave C6 blank
我如何做到这一点使用Excel公式?
值是文本,或数字?您可以使用COUNTA()计算非空值(除非单元格具有公式)。 – 2012-07-16 17:43:18
值是文本。我可以计数,但是如何复制范围中的唯一值?使用40个嵌套IFs? – Spartanblogger 2012-07-16 17:46:07
你可以连接所有的值.... – 2012-07-16 17:51:02