Excel YEARFRAC 函数 使用实例教程
时间:2023-05-20 19:24:39
YEARFRAC 函数返回给定起始日期和结束日期之间的天数在全年天数的百分比。
适用版本
Excel 2003+
说明
YEARFRAC 函数返回给定起始日期和结束日期之间的天数在全年天数的百分比。
返回值
百分比。
语法
=YEARFRAC(start_date, end_date, [basis])=YEARFRAC(起始日期, 结束日期, [类型])
参数
Start_date 必需。 起始日期。
End_date 必需。 结束日期。
Basis 可选。 要使用的日计数基准类型。 可用的日计数基准类型及含义如下:
0 或省略 → 美国(NASD)30/360
1 → 实际天数/实际天数
2 → 实际天数/360
3 → 实际天数/365
4 → 欧洲 30/360
实例
日基准类型采用实际天数,即,basis 参数为1。
可能出现的错误
#NUM!
如果提供的[basis]参数小于0或者大于4。
#VALUE!
如果提供的起始日期或结束日期参数不是有效的日期。
如果提供的[basis]参数非数值类型。
标签:excel日期和时间函数,YEARFRAC函数
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
迅雷怎样开启免打扰模式
2023-02-27 05:46:44
![](https://img.aspxhome.com/file/2023/8/a338419_0s.png)
win10家庭版强制更新怎么关闭
2023-04-16 20:18:45
![](https://img.aspxhome.com/file/2023/4/a307251_0s.png)
PPT 文本处理 图形处理 元素对象 幻灯片设置 相关教程
2022-09-04 02:58:21
![](https://img.aspxhome.com/file/2023/10/a351947_0s.jpg)
excel数据库是什么-Excel如何使用数据库数据-excel学习网
2022-02-27 02:06:30
Win7系统IE起始页被恶意篡改怎么修复为about:blank页?
2023-12-02 15:24:37
![](https://img.aspxhome.com/file/2023/27/a230871_0s.jpg)
怎么通过DISM检查Win10系统中文件夹数量?
2023-11-15 08:33:27
![](https://img.aspxhome.com/file/2023/6/49096_0s.jpg)
Win7系统当中提示域名解析错误105时该如何解决?
2022-10-07 03:47:23
![](https://img.aspxhome.com/file/2023/2/a290874_0s.jpg)
excel如何计算优秀率
2023-08-19 14:41:55
![](https://img.aspxhome.com/file/2023/9/a161649_0s.jpg)
Win10不能复制文件出现错误代码0x80070522怎么办?
2022-02-08 05:00:09
![](https://img.aspxhome.com/file/2023/26/a221072_0s.png)
Excel2016如何使用F5定位功能
2022-08-15 15:34:23
![](https://img.aspxhome.com/file/2023/7/36237_0s.jpg)
win7开机显示WUMTC is missing怎么办 win7系统开机显示WUMTC is missing的解决方法
2022-10-06 11:18:54
![](https://img.aspxhome.com/file/2023/29/a261201_0s.jpg)
Sketch教程-Symbol使用方法详细介绍
2022-05-01 05:48:25
![](https://img.aspxhome.com/file/2023/2/a212102_0s.jpeg)
Win11系统锁屏快捷键是什么?
2023-05-14 09:21:08
![](https://img.aspxhome.com/file/2023/1/a282387_0s.jpg)
PPT设计之图片运用实例教程
2022-10-18 04:28:20
笔记本Win11现在建议升级吗 笔记本Win11值得安装吗
2023-12-09 01:40:43
![](https://img.aspxhome.com/file/2023/27/a236564_0s.png)
Win10系统如何关闭边缘滑动功能?
2023-11-12 05:00:49
![](https://img.aspxhome.com/file/2023/7/48877_0s.jpg)
EXCEL中如何使每页都打印出底端备注?
2023-01-05 18:54:31
Win10系统cmd命令提示符怎么切换到旧版本?
2023-02-03 10:54:14
![](https://img.aspxhome.com/file/2023/28/a246122_0s.jpg)
PPT怎么设计自己喜欢的书法字帖?
2022-05-21 16:04:20
![](https://img.aspxhome.com/file/2023/10/a349916_0s.jpg)
Win11微软商店在哪里打开?Win11微软商店打开位置
2023-05-04 06:35:25
![](https://img.aspxhome.com/file/2023/28/a240532_0s.jpg)