计算列:基于两个日期列的值 [英] Calculated column: Value based on two date columns
本文介绍了计算列:基于两个日期列的值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个包含两个日期列的列表:
1)到期日
2)今天的日期
我想要第三列(状态)产生此计算 - 今天的日期等于/大于到期日期=已过期;今天的日期<到期=有效
有人可以为此写一个if语句吗?
解决方案
试试这个..
= IF([今天的日期]> = [到期日期],"已过期","有效" ;)
Hi,
I have a list with two date columns:
1) Expiration Date
2) Today's Date
I'd like for the third column (Status) to produce this calculation - Today's date is equals/greater than Expiration date =Expired; when Today's Date<Expiration=Valid
Can someone write an if statement for this?
解决方案
try this ..
=IF([Today's Date]>=[Expiration Date],"Expired","Valid")
这篇关于计算列:基于两个日期列的值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文