Forum Discussion

3 Replies

  • manoj patgar's avatar
    manoj patgar
    Copper Contributor

    Hi Zhazira,

     

    Good day to you,

     

    Please find formula for solution. Please test the formula once again before you execute.

    The formula is combination of IF, IF AND programme and using DATEVALUE function.

    The due date you have not mentioned so I have taken today date i.e 09/05/2017 this is one of main criteria to test the formula.

     

    IF(A2<DATEVALUE("09/05/2017"),"NOT OVERDUE",IF(AND(A2>=DATEVALUE("09/05/2017"),B2="NOT PAID"),"OVERDUE","NOT OVERDUE"))

     

    DateStatusResult Criteria: "Due date is 09/05/2017".
    01-May-17PAIDNOT OVERDUE     
    09-May-17PAIDNOT OVERDUE     
    01-May-17Not PaidNOT OVERDUE     
    09-May-17Not PaidOVERDUE     

     

     

    Please revert back if you found anything wrong or need any further assistance.

     

    Regards,

    Manoj P.

  • Dear Zhazira Kuanyshbayeva,

    Considering that your date is in cell A1 and

    Status (Not Paid or Paid), is in Cell B1,

     

    Use the following formula in cell C1 and drag it down.

    =IF(AND(A1<TODAY(),B1="Not Paid"),"Overdue","-")

     

    Change the cell references as required.

    Do let me know if this is what you want to do.

     

    Vijaykumar Shetye,

    Spreadsheet Excellence,

    Panaji, Goa, India

    • Zhazira Kuanyshbayeva's avatar
      Zhazira Kuanyshbayeva
      Copper Contributor

      Dear Vijaykumar Shetye,

       

      I already found, and used this formaula:

       

      =IF(OR(ISBLANK(N771),[@[Invoice status]]="Paid"),"",IF(N771<TODAY(),"Overdue","Not due"))

       

      anyway thank you for help.

       

Resources