Results 1 to 3 of 3

IF OR ISERROR problem

Threaded View

  1. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: IF OR ISERROR problem

    Given the explicit coercion taking place as a result of the subtraction you need to test the Error first / separately:

    =IF(ISERROR(O2-J2),"",IF(O2<=J2,"",O2-J2))
    we don't know how O2:J2 are being populated but you might find you could get away with:

    =IF(OR(COUNT(O2:J2)<2,O2<=J2),"",O2-J2)
    but the former is more "robust"
    Last edited by DonkeyOte; 01-03-2011 at 05:01 PM. Reason: missing all important word !

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1