简体   繁体   中英

Excel Formula for less than 60 but greater than 30

My current excel formula is:

=IF([DVT Contract End Dates Days Left]<=0,"Expired",IF([DVT Contract End Dates Days Left]<60,"Expiring soon",""))

I want to modify it like below :

Remove any days whose are less than 30 and marked Expiring soon which are more than 30.

尝试这个

=IF([DVT Contract End Dates Days Left]<=0,"Expired",IF(AND([DVT Contract End Dates Days Left]>30, [DVT Contract End Dates Days Left]<60),"Expiring soon",""))

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM