Excel 小于 60 但大于 30 的公式

Excel Formula for less than 60 but greater than 30

我目前的excel公式是:

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

我想修改如下:

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",""))