exel的公式计算从特定日期到今天的天数?


0

是否有任何excel公式可以计算从特定日期到今天的天数?

例如,如果我在7月31日的A栏中写道

所以从7月31日到今天是4天

我不想手动计算,因为我有大日期

请你能帮帮我吗

Answers:


3

= TODAY() - A1

将返回小数,例如1.5表示1天12小时。

= INT(TODAY() - A1)

将只返回整数


非常感谢我需要:= int(今天() - a1)我今天可以改变公式到2010年7月31日吗?我试过但我得到了错误
khalid

1
Excel格式必须是可接受的格式。详情见 support.microsoft.com/kb/214094
harrymc

仍然我不能使用我想要的格式,(今天更换为2010年7月31日,但感谢您的帮助。现在真的节省我的时间非常感谢
khalid
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.