用第一个空格上方的单元格的值填充不连续的空白单元格 [英] Fill non-contiguous blank cells with the value from the cell above the first blank
本文介绍了用第一个空格上方的单元格的值填充不连续的空白单元格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一列如下:
1 red
2 blue
3 red
4
5 blue
6
7
8 white
空白指的是它上面的记录。所以#4将与红色
相关联,6和7将是蓝色。
The blanks refer to the record above it. So #4 would be associated with red and 6 and 7 would be blue.
有没有一个简单的方法来填写整个列的空白?
Is there an easy way to fill in the blanks for entire column?
推荐答案
- 选择
A1:A8
。 - 按
F5
显示 Goto 对话框。 - 单击特殊 .....选择空白,然后单击确定。
- Select
A1:A8
. - Press
F5
to show the Goto dialog. - Click Special ..... Select Blanks and click OK.
- 然后,不选择任何其他内容,键入
= A3
,然后按 control + enter 。 - 这将在所有空白单元格中输入引用其上方单元格的数组公式。
- 重新选择
A1:A8
和编辑 - 复制。 - 然后编辑 - 粘贴特殊值。而且你已经设置好了。
- Then, without selecting anything else, type
=A3
and press control+enter. - That will enter an array formula in all the blank cells referring to the cell above it.
- Reselect
A1:A8
, and Edit - Copy. - Then Edit - Paste Special - Values. And you're all set.
这将选择一个不连续的空白单元格范围。
That will select a noncontiguous range of blank cells.
请注意, = A3
指的是第一个空白单元格之上的单元格。
Note that the =A3
refers to the cell above the first blank cell.
这篇关于用第一个空格上方的单元格的值填充不连续的空白单元格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文