excel 年函数计算提取年数的公式
时间:2023-03-16 09:25:04
文章介绍excel年函数的使用,并给出一个计算年数的实例演示。
excel年函数为year(),year函数可以提取一个日期的年份,比如=Year(now()),可以提取计算系统当前年份。
用excel年函数计算年数的以前的文章中也有一些教程,今天分享一个不同类型的excel计算年数的例子。
如下图A列是一些不同年份的日期,如何批量将这些日期批量修改为今年的日期,效果如B列。
我们在B2单元格输入公式:=--TEXT(A2,"m-d"),下拉复制即可。
提示:上面的公式计算年数,如果结果返回“#VALUE!”,表示今年没有该日期,也就是今年不是闰年,而该日期是闰年的2月29日。
excel 年函数计算提取年数的公式的下载地址:
标签:excel年函数计算提取年数
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
Win10系统双显卡怎么快速切换?
2022-08-03 07:24:47
![](https://img.aspxhome.com/file/2023/28/a241372_0s.jpg )
wps怎么删除分页符?
2022-02-16 16:35:04
![](https://img.aspxhome.com/file/2023/4/a169124_0s.gif)
利用PPT制作精美3D水晶效果组织机构图的方法
2022-03-06 18:28:22
![](https://img.aspxhome.com/file/2023/10/a353063_0s.jpg)
win11d盘扩展不了原因及解决方法
2022-12-02 12:13:57
![](https://img.aspxhome.com/file/2023/30/a270748_0s.jpg)
如何用模拟运算表在Excel2003中制作的九九乘法表
2023-04-13 16:17:42
![](https://img.aspxhome.com/file/2023/4/37834_0s.png)
wps文字怎样将字体加粗
2022-10-26 21:28:19
2020年高手都在用的mac屏幕共享工具,都在这儿了!
2022-09-19 03:14:21
![](https://img.aspxhome.com/file/2023/0/a210180_0s.png)
word2013截图功能使用方法
2022-11-06 22:48:38
![](https://img.aspxhome.com/file/2023/7/29297_0s.jpg)
微软:win10开发者应善用自适应磁贴与交互式通知功能
2022-02-13 09:13:09
![](https://img.aspxhome.com/file/2023/28/a248067_0s.jpg)
如何恢复bitlocker密钥找回_bitlocker恢复密钥找回的方法
2023-09-30 18:18:18
![](https://img.aspxhome.com/file/2023/5/a316939_0s.jpg)
支付宝重磅新功能曝光:社交之心不死
2023-03-17 08:05:32
![](https://img.aspxhome.com/file/2023/3/a296058_0s.jpg)
word怎么自定义项目符号
2022-10-15 13:54:34
![](https://img.aspxhome.com/file/2023/3/34643_0s.gif)
驱动人生游戏必备组件干嘛的_驱动人生游戏必备组件安装方法
2022-08-12 15:15:47
![](https://img.aspxhome.com/file/2023/3/a297528_0s.jpg)
Win10显示器输入不支持怎么办?分辨率设置太大进不去如何解决?
2022-12-09 12:02:05
![](https://img.aspxhome.com/file/2023/26/a225102_0s.jpg)
快速清理垃圾 win7有绝招
2022-08-20 09:06:11
Win10需要来自system的权限才能删除怎么解决?
2023-06-18 04:58:09
![](https://img.aspxhome.com/file/2023/25/a217805_0s.png)
百度日文输入法怎么卸载
2023-07-15 10:11:58
![](https://img.aspxhome.com/file/2023/5/a317851_0s.jpg)
如何在演讲PPT时不忘词
2023-10-22 06:27:33
![](https://img.aspxhome.com/file/2023/10/a351365_0s.png)
Mac新手必备技巧之如何关闭Mac屏幕亮度自动调节功能
2022-08-03 15:51:12
![](https://img.aspxhome.com/file/2023/5/a212065_0s.jpeg)
如何在 Windows 11 上禁用悬停小部件?
2023-10-21 11:28:12
![](https://img.aspxhome.com/file/2023/30/a266217_0s.jpg)