简体   繁体   English

跳过已经有一些文本的单元格后如何在excel列中填充系列

[英]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. 可以向上复制一个单元格,然后向下复制以适合。

SO41178202范例

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何将运行计数添加到已经有文本的excel单元格? - How to add running count to excel cell, which already has text in it? 如何检查单元格中的实际文本是否已经存在于Excel中的列中 - How to check if the actual text in the cell already exists in the column in excel 如何识别设置了过滤器的单元格/列? - How to identify which cell(s)/column(s) have Filters set? 如何将单元格文本与包含Excel中已有文本的另一个单元格合并? - How to join a cell text with another cell that contains text already in excel? 我在Excel中有一列,它从另一个电子表格中的另一列获取数据。 如何在每个单元格后添加一个空行? - I have a column in Excel which gets data from another column, in another spreadsheet. How do I add an empty row after every cell? 自动填充公式向下列但跳过已填充的单元格 - Auto fill a formula down a column but skipping already populated cells VBA Excel-如何根据另一个单元格的值自动在excel中填充系列? - VBA Excel - How can I automatically fill a series in excel, based on the value of another cell? 如何从正则表达式生成随机文本以填充Excel单元格 - How to generate random text from regex to fill an excel cell 我可以在Excel中使用“序列填充”来生成长文本系列吗? - Can I use Series Fill in Excel to generate a long Text Series? Excel:如何仅添加一个单元格中的值,跳过其他文本和字符? - Excel: How to add only the values from one cell, skipping other text and characters?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM