跳到主要内容

如何在Excel中用系列重复模式编号填充列?

假设您要用重复的模式编号(例如1 2 3 1 2 3 1 2 3…)填充一列。 由于“填充手柄”无济于事,并且一遍又一遍地键入重复的图案编号需要花费很多时间,因此您会怎么做? 在这里,我们将向您展示轻松填充具有重复模式编号的列的方法。

用公式重复模式编号填充列
使用 Kutools for Excel 用重复模式编号填充列


用公式重复模式编号填充列

您可以按如下方式用重复的图案编号填充列。

1.要重复“ 123”系列,请分别在单元格A1,A2和A3中键入1、2、3。 然后在单元格A4中输入公式 = IF(A3 = 3,1,A3 + 1).

备注:在公式中,1是序列重复图案编号的第一个数字。

2.将单元格A4的填充手柄向下拖动到该列,直到所需单元格中填充有一系列重复的模式编号。 看截图:

备注:您的序列号必须从数字1开始,否则,您会得到不正确的结果。


使用 Kutools for Excel 用重复模式编号填充列

申请前 Kutools for Excel首先下载并安装.

1。 点击 库工具 > 插页 > 插入序列号。 看截图:

2.在 插入序列号 对话框中,单击 全新 按钮以展开对话框,那么您需要:

A.在中输入您喜欢的系列名称 名字 框;
B.在系列中输入系列的起始编号 起始号码 框。 (由于级数为1 2 3,因此在这里输入数字1;
C.在 增量 框;
D.指定要显示的位数;
E.检查 结束号码 框中,键入此重复模式编号的最后一个数字(此处输入数字3,表示重复模式将在数字3之后开始)。
F.点击 地址 按钮。

3.现在创建了重复序列,选择列单元格,然后在 插入序列号 对话框,然后单击 填充范围 按钮。

您会看到在所选列中立即填充了序列重复图案编号。 看截图:

4.只需关闭对话框。 创建的系列已保存在 插入序列号 功能使用对话框。

  如果您想免费试用(30天)此实用程序, 请点击下载,然后按照上述步骤进行操作。


相关文章:

最佳办公生产力工具

🤖 Kutools 人工智能助手:基于以下内容彻底改变数据分析: 智能执行   |  生成代码  |  创建自定义公式  |  分析数据并生成图表  |  调用 Kutools 函数...
热门特色: 查找、突出显示或识别重复项   |  删除空白行   |  合并列或单元格而不丢失数据   |   不使用公式进行四舍五入 ...
超级查询: 多条件VLookup    多值VLookup  |   跨多个工作表的 VLookup   |   模糊查询 ....
高级下拉列表: 快速创建下拉列表   |  依赖下拉列表   |  多选下拉列表 ....
列管理器: 添加特定数量的列  |  移动列  |  切换隐藏列的可见性状态  |  比较范围和列 ...
特色功能: 网格焦点   |  设计图   |   大方程式酒吧    工作簿和工作表管理器   |  资源库 (自动文本)   |  日期选择器   |  合并工作表   |  加密/解密单元格    按列表发送电子邮件   |  超级筛选   |   特殊过滤器 (过滤粗体/斜体/删除线...)...
前 15 个工具集12 文本 工具 (添加文本, 删除字符,...)   |   50+ 图表 类型 (甘特图,...)   |   40+ 实用 公式 (根据生日计算年龄,...)   |   19 插入 工具 (插入二维码, 从路径插入图片,...)   |   12 转化 工具 (小写金额转大写, 货币兑换,...)   |   7 合并与拆分 工具 (高级组合行, 分裂细胞,...)   |   ... 和更多

使用 Kutools for Excel 增强您的 Excel 技能,体验前所未有的效率。 Kutools for Excel 提供了 300 多种高级功能来提高生产力并节省时间。  单击此处获取您最需要的功能...

产品描述


Office Tab 为 Office 带来选项卡式界面,让您的工作更加轻松

  • 在Word,Excel,PowerPoint中启用选项卡式编辑和阅读,发布者,Access,Visio和Project。
  • 在同一窗口的新选项卡中而不是在新窗口中打开并创建多个文档。
  • 每天将您的工作效率提高50%,并减少数百次鼠标单击!
Comments (4)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
How do you reference a sheet in a pattern of threes on a separate sheet? I would like a column to continue down each row with a pattern like this:

=Sheet1!A1
=Sheet1!A1
=Sheet1!A1
=Sheet1!A2
=Sheet1!A2
=Sheet1!A2
=Sheet1!A3
=Sheet1!A3
=Sheet1!A3

I have thousands of rows I need to autofill for & cannot do this by hand.
This comment was minimized by the moderator on the site
Hi all,

I faced a similar problem today wherein I had to fill sequential numbers on a column with below pattern:

A1= 1

A2= 1

A3 = 1

A4 = 2

A5 = 2

A6 = 2

I created a solution by writing below formula in cell A4:

A4 = $A1 + 1

I dragged this formula down and got the above pattern of numbers to fill down the column A
This comment was minimized by the moderator on the site
Try with sequence of the same number repeated twice, and incrementing by one. i.e you want two rows each for a sequence of numbers: 223,223,224,224,225,225,226,226.... Looks great, but if you select the cells you will see fractional numbers, no matter that the pattern numbers are all integers or how many you pre-enter and select to show the series pattern to EXCEL. Why does EXCEL not see that the sequence begins with integers? If anything EXCEL should assume integer increments when "fill series" is selected, unless forced to do otherwise.
This comment was minimized by the moderator on the site
Try this =IF(A5=5;1;A1) A5 last cell which have value=5 A1 first cell which have value=1
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations