Results 1 to 3 of 3
  1. #1
    3 Star Lounger
    Join Date
    Dec 2009
    Posts
    212
    Thanks
    36
    Thanked 0 Times in 0 Posts
    =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?

  2. #2
    WS Lounge VIP rory's Avatar
    Join Date
    Dec 2000
    Location
    Burwash, East Sussex, United Kingdom
    Posts
    6,280
    Thanks
    3
    Thanked 191 Times in 177 Posts
    Try:

    =IF(OR(B5="",ISERROR(DATEDIF(B5,B6,"d"))),"waiting ",REPT("I",C5))
    Regards,
    Rory

    Microsoft MVP - Excel

  3. #3
    3 Star Lounger
    Join Date
    Dec 2009
    Posts
    212
    Thanks
    36
    Thanked 0 Times in 0 Posts
    Rory,
    Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •