Forum Discussion

Aaron Lockett's avatar
Aaron Lockett
Brass Contributor
Apr 24, 2018
Solved

Nested IF

Hopefully someone can understand what I'm trying to achieve and lend a helping hand!

 

The formula I'm trying to use is as follows:

=IF(K2="",D,IF( (L2="Expired"),IF(O5="" AND L2=""),"In Progress","Closed"),"Closed"))

 

What im trying to achieve is for Column P to display either "Closed" or "In Progress". If Column L is blank or "Expired" then Column P should display "In Progress". If Column L or Column O is NOT blank, Column P is to display "Closed".

 

There is a sample file attached and thank you in advance!!!

  • SergeiBaklan's avatar
    SergeiBaklan
    Apr 24, 2018
    =IF(O2<>"", "Closed", IF(OR(L2="Expired",ISBLANK(L2)),"In Progress","Closed"))

21 Replies

    • Aaron Lockett's avatar
      Aaron Lockett
      Brass Contributor

      Hi there,

       

      You have missed the fact that if Column O has a date entered, Column P should display "Closed"

      • Detlef_Lewin's avatar
        Detlef_Lewin
        Silver Contributor

        Well... you stated that the result would either "Closed" or "In Progress".

        And the rules for "In Progress" are: column L is blank or "Expired". So everything else must "Closed".

         

    • Aaron Lockett's avatar
      Aaron Lockett
      Brass Contributor
      Nothing as such, it will just blank the cell when conditionally formatted.

Resources