跳到主要內容

如何在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重複模式編號填充列

申請前 Excel的Kutools首先下載並安裝.

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選項卡為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