跳到主要内容

如何在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 识别并突出显示过期或即将到来的日期

在这里,我介绍一个方便的工具– Kutools for Excel 对你来说 选择特定的单元格 还可以帮助您快速识别并突出显示过期或即将过期的日期。

Kutools for Excel, 与超过 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 Tab 为 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