• add another condition to iserror

    Author
    Topic
    #473866

    =IF(ISERROR(DATEDIF(B5,B6,”d”)),”waiting”,REPT(“I”,C5))
    B column has date entries.
    B5 is first date entry.
    B column [dates] filled in descending order, so no B5, never B6.
    If B5 is blank[no first entry], I get no output, “waiting”.
    How can I get it to also give me this output if B5 is blank?

    Viewing 1 reply thread
    Author
    Replies
    • #1261078

      Try:

      =IF(OR(B5=””,ISERROR(DATEDIF(B5,B6,”d”))),”waiting”,REPT(“I”,C5))

    • #1261263

      Rory,
      Thanks.

    Viewing 1 reply thread
    Reply To: add another condition to iserror

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: