Forum Discussion

Sam_Perryman's avatar
Sam_Perryman
Copper Contributor
Jun 19, 2021
Solved

IFS Formula or IF formula

Hi 

Hoping someone can assist me;

I am developing a training matrix as per table below.

The status field has the current formula:

=IF(G7<0,"Expired",IF(G7<30,"Expiring Soon",""))

 

The problems I am facing is despite watching tutorials using either the IF nested route or IFS function I cannot figure out how to include if G7>30,"Active" - this would show training certificate is still valid.

 

Also, you will see that Expiring Soon is coming up when there are no dates to count??  These would be training certificates that the candidate is not required to complete.  This should remain Blank.

 

Can anyone show me where I am going wrong please?

 

Thank you in advance for your time.

 

 

 

Date completedDate ExpiredDays LeftStatus
14/04/2014/04/21-66Expired
10/09/2010/09/2183 
15/12/2015/12/21179 
   Expiring Soon
   Expiring Soon
13/04/2013/04/22298 
10/04/2010/04/21-70Expired
13/04/2013/04/21-67Expired
13/04/2013/04/21-67Expired
13/04/2013/04/21-67Expired
13/04/2013/04/21-67Expired
13/04/2013/04/21-67Expired
   Expiring Soon

 

SergeiBaklan      

  • Sam_Perryman 

    Perhaps

    =IF(G7<0,"Expired",
     IF(G7<30,"Expiring Soon","Active"))
    
    =IFS(G7<0,"Expired", G7<30,"Expiring Soon",TRUE, "Active"))
    

Resources