[英]How to fill series in the column of excel after skipping the cell (s) which already have some text
I want to fill series in a column and skip those cell which has some values (text). 我想在列中填充系列,并跳过那些具有某些值(文本)的单元格。
In the attached screenshot, I want to fill series in the Student ID column. 在所附的屏幕截图中,我想在“学生证”列中填写系列。 skip those cell which has already text or the row is merged and fill the series.
跳过那些已经有文本或合并行的单元格并填充系列。
See the result I want: 看到我想要的结果:
You are not going to be able to copy a formula down in ColumnC (without deleting the name data) but could handle that with an IF statement in a helper column. 您将无法在ColumnC中向下复制公式(而不会删除名称数据),但是可以使用helper列中的IF语句来处理该公式。 Assuming you start with what is shown in ColumnC in the image, F2 (for example) could contain:
假设您从图像的ColumnC中显示的内容开始,则F2(例如)可能包含:
=IF(NOT(ISBLANK(C2)),C2,MAX(F$1:F1)+1)
which may be copied up one cell and down to suit. 可以向上复制一个单元格,然后向下复制以适合。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.