跳到主要內容

如何在Excel中識別或突出顯示過期或即將到來的日期?

對於某些超市或銷售部門,已過期的物品需要從貨架上移開,而即將到來日期將過期的物品需要盡快出售。 但是,對於他們來說,如何快速識別過期或即將到來的日期項目必須是一個大問題。

doc識別即將到期的日期1
例如,您有一個工作表,其中列出了所有項目及其過期日期,如左圖所示。 現在,我將介紹一些技巧,以識別或突出顯示Excel中的過期或即將發生的日期。


使用條件格式突出顯示過期或即將到來的日期
使用Kutools for Excel識別並突出顯示過期或即將到來的日期 好主意3

箭頭藍色右氣泡 使用條件格式突出顯示過期或即將到來的日期

要應用條件格式來突出顯示過期或即將到來的日期,請按照下列步驟操作:

1.選擇截止日期單元格,然後單擊 首頁 > 條件格式 > 新規則。 看截圖:
doc識別即將到期的日期2

2.然後在 新格式規則 對話框中選擇 使用公式來確定要格式化的單元格選擇規則類型 部分,然後輸入此公式 = B2 <= TODAY() (B2是所選日期中的第一個單元格)到 格式化此公式為真的值 文本框,可以對其進行更改以滿足您的需要),然後單擊 格式。 看截圖:
doc識別即將到期的日期3

3.在彈出 單元格格式 對話框下 標籤上,根據需要選擇一種背景色以突出顯示過期日期。 看截圖:
doc識別即將到期的日期4

4。 點擊 OK > OK,現在過期日期已突出顯示,您可以找到相關項目。 看截圖:
doc識別即將到期的日期5

小提示:

1.“今天”是當前日期,在我們的情況下今天是4年27月2016日。

2.例如,如果要查找即將到來的日期,以查找將在90天內到期的項目,則可以使用以下公式 = AND($ B2> TODAY(),$ B2-TODAY()<= 90) ,在 格式化此公式為真的值 文本框。 查看屏幕截圖:
doc識別即將到期的日期6


箭頭藍色右氣泡 使用Kutools for Excel識別並突出顯示過期或即將到來的日期

在這裡,我介紹一個方便的工具– Excel的Kutools 對你來說 選擇特定的單元格 還可以幫助您快速識別並突出顯示過期或即將過期的日期。

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

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

1.選擇空白單元格,例如E2,並在其中輸入此公式= TODAY(),然後按Enter鍵以獲取當前日期。 看截圖:
doc識別即將到期的日期7

2.然後選擇要標識過期日期的日期單元格,然後單擊 庫工具 > 選擇 > 選擇特定的單元格。 看截圖:
doc識別即將到期的日期8

3。 在裡面 選擇特定的單元格 對話框,檢查 細胞 or 整行 根據您的需要 選擇類型,然後選擇 小於或等於 從第一個列表 特定類型,然後單擊下一步按鈕 文檔選擇 選擇今天的日期。 看截圖:
doc識別即將到期的日期9

4.單擊確定,彈出一個對話框,告訴您滿足指定條件的單元格數量,同時,所有小於或等於今天的日期都已被選中。
doc識別即將到期的日期10doc識別即將到期的日期11

5.如果要突出顯示選定的單元格,只需單擊 首頁,然後去 填充顏色 選擇一種顏色突出顯示它們。 看截圖:
doc識別即將到期的日期12
doc識別即將到期的日期13

小提示: 如果要標識即將過期的項目,只需輸入此公式 =今天()= TODAY()+ 90 分為兩個空白單元格,以獲取當前日期和從今天起90天之後的日期。 然後指定條件 比...更棒 or 等於 今天和 小於或等於 今天+ 90天 選擇特定的單元格 對話。 看截圖:
doc識別即將到期的日期14

現在,日期將在選擇的未來90天內過期。 看截圖:
doc識別即將到期的日期15

最佳辦公生產力工具

🤖 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 (23)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
terimakasih sangat membantu tapi saya coba masih tidak bisa
This comment was minimized by the moderator on the site
Thank you, It helpful
This comment was minimized by the moderator on the site
例如二年之後日期過了,會轉紅色提醒
This comment was minimized by the moderator on the site
wie aktualisiere ich die die Tabelle bzw wie funktioniert es automatisch? Wenn ich zb. eine Woche später reinschaue sind immer noch die selben Daten markiert (wurde nicht upgedated) Danke!
This comment was minimized by the moderator on the site
I have sheet which includes products, expiry date and I have to add stock date vise in it. I want to highlight the columns when it comes to expiry date. Can you please help me with it.
This comment was minimized by the moderator on the site
Hi, Natasha, just using a formula like =C2<B2 in the Conditional Formatting feature to highlight the date that smaller than expiry date.See screenshot:
https://www.extendoffice.com/images/stories/comments/sun-comment/doc-highlight-expiry-date.png
This comment was minimized by the moderator on the site
Hallo,

mit der Funktion =(F3>=HEUTE()+30) werden auch Felder markiert, die eine Formel enthalten, bei denen aber nichts angezeigt wird, wie kann ich das umgehen?

Vielen Dank!
This comment was minimized by the moderator on the site
Hi, Tamara, all formuls provided in our articles are tested and work in English Office Version, I am not sure that it works in other languages version. Sorry. But you can try the addin tool provided in the article, which does not need any formulas but just clicks. If you are intrested, please go to here download, and have 30-day free trial.
This comment was minimized by the moderator on the site
B1 = Today()B2 = B1-DAY(B1) B2 becomes last day of previous month. Then you can use a less than or equal to statement for conditioning.
This comment was minimized by the moderator on the site
Wow , ive just used the instructions to track the medical examinations of the workers. Thanks very much 
This comment was minimized by the moderator on the site
Is there a modified version of these formulas that I can use for future dates?
I have goods due on future specific dates but I need to purchase materials ahead of time (90, 100, 120 days in advance)
What do you think?
This comment was minimized by the moderator on the site
Hi, EliR, I do not understand your question clearly, in my comprehension, you want to highlight the goods due date which larger than 90.100,1200 days, if so, you can use this formula =$B2-TODAY()>=90, you can change B2 and 90 to your need.
This comment was minimized by the moderator on the site
i need a way to identify and track items that are sitting old from purchase date ... 0-8 months items green , 8-18 months yellow , 18 months + red
This comment was minimized by the moderator on the site
It is easy, you only need to create new rule in Conditional Formatting as below screenshot shown:
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations