Skip to main content

如何使用資料驗證限制在 Excel 儲存格中輸入百分比數據?

Author: Sun Last Modified: 2025-05-12

假設有一個表格需要強制使用者在工作表中輸入百分比數據。該如何在 Excel 中處理這個問題呢?這裡我將介紹如何使用「資料驗證」功能來解決它。

使用資料驗證強制輸入百分比

使用 Kutools for Excel 強制唯一值輸入good idea3


使用資料驗證強制輸入百分比

要強制輸入百分比,請按照以下步驟操作:

1. 選擇您要強制輸入百分比的儲存格,點擊 [Home] 索引標籤,然後在 [Number] 群組中,從下拉清單中選擇 [Percentage]。
A screenshot showing how to select percentage format in Excel

2. 接著點擊 [Data] > [Data Validation]
A screenshot showing the Data Validation option in the Data tab in Excel

3. 在 [Data Validation] 對話框中,於 [Settings] 索引標籤下,在 [Allow] 區域選擇 [Decimal],在 [Data] 區域選擇 [ between from],然後在 [Minimum] 和 [Maximum] 文本框中分別輸入 0.010.99
A screenshot of the Data Validation settings dialog

4. 點擊 [OK],現在當你輸入大於或等於 100 的數字時,會彈出警告提示。
A screenshot showing a warning when entering a number greater than or equal to 100 in Excel

如果您輸入小於 100 但大於 1 的數字,該數字將自動格式化為百分比。
A screenshot of the percentage entry automatically formatted in Excel

提示:您只能在此範圍內輸入數字:1 ≤ 數字 ≤ 99。


使用 Kutools for Excel 強制唯一值輸入

如果您想強制使用者在一列中輸入唯一的數據,也就是防止重複數據輸入,您可以嘗試 Kutools for Excel[Prevent Duplicate] 功能。

Kutools for Excel 提供超過 300 種進階功能,簡化複雜任務,提升創造力與效率。 結合 AI 能力,Kutools 能夠精準自動化任務,讓數據管理變得輕而易舉。Kutools for Excel 的詳細資訊...免費試用...

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

選擇您要防止重複輸入的列,點擊 [Kutools] > [Prevent Typing] > [Prevent Duplicate]
A screenshot showing the Prevent Duplicate option in Kutools tab in Excel

然後點擊 [Yes] > [OK] 關閉提醒。

A screenshot showing the first step of preventing duplicate entries in Excel using Kutools A screenshot showing the second step of preventing duplicate entries in Excel using Kutools

從現在開始,當有重複輸入時,將會彈出警告提示以阻止重複輸入。
A screenshot showing the warning message that pops up when a duplicate entry is made in Excel

Kutools for Excel - 超過 300 種必備工具,讓 Excel 功能更強大。永久免費享受 AI 功能!立即獲取

示範:使用 Kutools for Excel 強制唯一值輸入

Kutools for Excel:超過 300 種實用工具任您使用!永久免費享受AI功能!立即下載!

最佳辦公效率工具

🤖 Kutools AI 助手:基於智能執行方式革新數據分析:智能執行   |  生成代碼  |  創建自訂公式  |  分析數據並生成圖表  |  調用 Kutools 函數
熱門功能查找、標記重複值或識別重複項   |  刪除空行   |  合併列或單元格而不丟失數據   |   四捨五入無需公式 ...
高級 LOOKUP多條件 VLookup    多值 VLookup  |   多表查找   |   模糊查找 ....
高級下拉列表快速創建下拉列表   |  依賴下拉列表   |  多選下拉列表 ....
列管理器添加特定數量的列  |  移動列  |  切換隱藏列的可見狀態  |  比較區域和列 ...
特色功能網格聚焦   |  設計檢視   |   增強編輯欄    工作簿與工作表管理器   |  資源庫(自動文本)   |  日期提取器   |  合併資料   |  加密/解密儲存格    按列表發送電子郵件   |  超級篩選   |   特殊篩選(篩選粗體/斜體/刪除線...) ...
頂級 15 種工具集12 個文本工具添加文本刪除特定字符、...)   |   50+ 圖表 類型甘特圖、...)   |   40+ 實用 公式基於生日計算年齡、...)   |   19 個插入工具插入QR碼根據路徑插入圖片、...)   |   12 個轉換工具金額轉大寫匯率轉換、...)   |   7 個合併與分割工具高級合併行分割儲存格、...)   |   ... 還有更多

使用 Kutools for Excel 提升您的 Excel 技巧,體驗前所未有的高效。 Kutools for Excel 提供超過 300 種高級功能來提高生產力並節省時間。  點擊這裡獲取您最需要的功能...


Office Tab 將標籤式界面帶到 Office,讓您的工作更加輕鬆

  • 在 Word、Excel、PowerPoint、Publisher、Access、Visio 和 Project 中啟用標籤式編輯和閱讀。
  • 在同一窗口的新標籤中打開和創建多個文檔,而不是在新窗口中。
  • 將您的生產力提高 50%,每天為您減少數百次鼠標點擊!