跳到主要內容

如何在Excel中快速插入唯一的序列號?

您是否需要在Excel中插入序號? 有時您可能需要插入一些特殊的序號,例如000-001,或帶有其他後綴和前綴。 在這裡,我們將指導您如何在Excel中快速創建或插入序列號。

在Excel中以1、2、3 ...插入唯一的序列號

自定義並插入帶有後綴和前綴的唯一序列號好主意3

用Kutools for Excel插入隨機唯一數字好主意3


箭頭藍色右氣泡 在Excel中以1、2、3 ...插入唯一的序列號

儘管沒有在Excel中插入序列號的命令,但是您可以通過單擊和拖動鼠標在連續的單元格中插入序列號。

步驟 1:在一個單元格中輸入1,然後在第一個單元格旁邊的單元格中輸入2。

第一步: 選擇兩個單元格,然後拖動填充手柄 說明:帶有填充手柄的選定單元格 跨您要填充的範圍。

doc插入序列號1 -2 doc插入序列號2

拖動此填充手柄,您還可以使用以下格式的序列號填充單元格列:000-001,000-002,000-003…”和帶有前綴“KTE-0001,KTE-0002,KTE-0003……”。

筆記:1.這種方法只能在連續的單元格中插入序列號。

2.如果要創建帶有後綴或前綴和後綴的序列號,此方法將不起作用。


箭頭藍色右氣泡 自定義並插入帶有後綴和前綴的唯一序列號

插入序列號 的效用 Excel的Kutools 可以幫助您在連續的單元格,活動工作表的非連續範圍,不同的工作表和不同的工作簿中自定義和插入序列號。

Excel的Kutools, 與以上 300 方便的功能,使您的工作更加輕鬆。 

安裝後 Kutools for Excel,請執行以下操作:(立即免費下載Kutools for Excel!)

步驟 1:選擇要插入序列號的範圍。

步驟 2: 點擊 庫工具 > Insert > Insert Sequence Number.

doc插入隨機數1

步驟 3: 在裡面 Insert Sequence Number 對話框中,單擊 New 按鈕。

doc插入序列號4

步驟 4:它將展開對話框,在左下方的面板中,創建您自己的序列號,並根據需要指定序列名稱和前綴或後綴。 同時,您可以在右下方的列錶框中預覽自定義序列的結果。 看截圖:

doc插入序列號5

步驟 5:然後點擊 Add 按鈕將創建的序列添加到上面的列錶框中,並選擇要創建的項目,然後單擊 Fill Range 按鈕將序列號插入所選範圍。 查看屏幕截圖:

doc插入序列號6
-1
doc插入序列號7

插入序列號 實用程序可以輕鬆地將唯一的序列號插入Excel中的連續單元格和非連續範圍。 此外,下次您可以繼續在不同的工作表和工作簿中插入序列號。


用Kutools for Excel插入隨機唯一數字

如果要隨機插入1-100之間的數字到一系列單元格中而不重複,如下面的屏幕截圖所示,如何快速解決呢? 這裡, Excel的Kutools插入隨機數據 可以幫助您輕鬆處理。
doc插入隨機數2

安裝後 Kutools for Excel,請執行以下操作:(立即免費下載Kutools for Excel!)

1.選擇要隨機插入唯一編號的單元格,單擊 庫工具 > Insert > Insert Random Data.
doc插入隨機數3

2。 在裡面 Insert Random Data 對話框中,輸入所需的數字範圍 FromTo,檢查 Unique values 複選框。
doc插入隨機數4

3。 點擊 Ok。 數字是隨機插入的,沒有重複。

尖端:如果您不需要唯一值,只需取消選中 Unique values。 而且 Insert Random 數據還可以根據需要插入隨機的日期,時間,字符串和自定義列表。

最佳辦公生產力工具

🤖 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 (8)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Thank You Sir For giving me information about create series in excel
This comment was minimized by the moderator on the site
Thank You Much To Provide And Improve The Idea To Creat Excel Series
This comment was minimized by the moderator on the site
I was successful in setting up 'Customize and insert unique sequence numbers with suffix and prefix' But, when I print it will only print the first number. It will not print my 50 pages with sequential numbers (201500941, 201500942, 201500943, etc) What am I doing wrong?
This comment was minimized by the moderator on the site
Please guide me that i have Purchase order in one excel sheet i.e 200 pages i want to know any formula for footer page number which should be permanent Means i have 1st purchase order of 3 pages, 2nd purchase order for 4 pages and 3rd purchase order for 2 pages. each purchase order has different Serial number but all in one excel sheet i.e sheet1. i inserted footer page no of ? which generate 1 of 9, 2 of 9 etc. Please guide i want to segerate the footer page number for 1st page order 1 of 3, 2 of 3 and 3 of 3. 2nd purchase order should have footer page number 1 of 4, 2 of 4 etc and hence for 3rd purchase order. looking forward for your guidance Kind Regards Javed
This comment was minimized by the moderator on the site
This was so helpful! Thank you!!
This comment was minimized by the moderator on the site
I make bills to be paid in excel sheets. Is there any way that the bill no. gets incremented automatically when i open a new workbook..??
This comment was minimized by the moderator on the site
Thanks a lot .It helped me a lot.Thankyou very much
This comment was minimized by the moderator on the site
So what happens when I have created these entries, but after a while I deleted some. Will the numbers of the deleted ones "come back" again when i add new entries? I mean, my purpose is, these numbers are never "re-used"... Can this be done? Many thanks! Chloe
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations