跳到主要內容

 如何在Excel工作表中突出顯示中獎彩票號碼?

要檢查彩票是否中獎,可以一一檢查。 但是,如果需要檢查多個票證,您如何快速,輕鬆地解決它? 本文將討論突出顯示中獎彩票號碼以檢查是否中獎,如下圖所示。

在Excel中使用條件格式突出顯示中獎彩票號碼


在Excel中使用條件格式突出顯示中獎彩票號碼

 

 

普通的條件格式設置功能可以幫助您盡快處理此任務。 請執行以下步驟:

1。 選擇門票的彩票號碼,然後單擊 首頁 > 條件格式 > 新規則,請參見屏幕截圖:

2。 在 新格式規則 對話框中選擇 使用公式來確定要格式化的單元格 在選項 選擇規則類型 列錶框,然後輸入以下公式: = COUNTIF($ B $ 2:$ G $ 2,B6)> = 1 格式化此公式為真的值 文本框,請參見屏幕截圖:

備註:在以上公式中, B2:G2 是包含中獎彩票號碼的範圍,並且 B6 是您要突出顯示中獎號碼的彩票號碼的第一個單元格。 請更改為您自己的。

3。 然後點擊 格式 按鈕去 單元格格式 對話框中的 標籤,請選擇一種顏色以突出顯示中獎彩票號碼,請參見屏幕截圖:

4. 然後點擊 OK > OK 關閉對話框,現在中獎彩票號碼已突出顯示,如以下屏幕截圖所示:

 

最佳辦公生產力工具

🤖 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
Thanks, i got it to work, but :-), i change to have two rules, to accommodate for a single powerball number at the end

first rule =COUNTIF($B$1:$f$1,B6)>=1
second rule =COUNTIF($g$1,g6)>=1

The above seem to work great for the 5 number plus a powerball number

But again thanks for sharing this Rule, I could have never figured this out without your help, thanks.

Maplewood
This comment was minimized by the moderator on the site
FYI , rule 1 , i highlighted the Rolls B - F of my tickets i entered for the 5 Ticket numbers

Rule 2 i highlighted Roll G for the Power Ball numbers cells

I hope this make since, but it works great for me so far.

Maplewood Vic
This comment was minimized by the moderator on the site
I am trying to create your Lottery Checker in my Excel, however it does not seem to function. I would be grateful for your advice? Thank you David
This comment was minimized by the moderator on the site
Hello David,Sorry for the inconvenience. The formula in the article =COUNTIF($B$2:$G$2,B6)>=1 is clearly wrong. Please use the new formula: =COUNTIF($B$1:$G$1,B6)>=1. Please see the screenshots. Hope it can solve your problem. Have a nice day.Sincerely,Mandy
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations