excel中today函数怎么用
2017-06-07
excel里面有很多公式函数可以用,对于刚从其它版本转型过来的应该就不会太懂吧,没关系,有些简单的excel中用today函数返回当前日期并设置日期格式,下面小编马上就告诉大家excel中使用today函数的方法。
excel中使用today函数的步骤
1.例如显示今天的日期。
输入公式=today()。

2.例如,today与and、if函数组合进行库龄分析。
输入公式=today()-B2。

3.and函数表示检查是否所有参数均为TRUE,如果所有参数均为TRUE,则返回TRUE。
语法格式=and(logical1,logical2, ...)。
if函数表示判断是否满足某个条件,如果满足返回一个值,如果不满足返回另一个值。
语法格式=if(条件,结果1,结果2)
输入公式=IF(TODAY()-B2<=90,"是","否")。

4.输入公式=IF(AND(TODAY()-B2>90,TODAY()-B2<=180),"是","否")。
表示同时满足大于90,且小于等于180成立,就返回是,否则返回否。

5.输入公式=IF(AND(TODAY()-B2>180,TODAY()-B2<=270),"是","否")。

猜你感兴趣:
1.怎么在excel中使用today函数
2.excel如何使用TODAY函数
3.excel表格怎么使用today函数
4.excel中today日期函数的使用方法
5.excel2010如何使用TODAY函数