+ Reply to Thread
Results 1 to 3 of 3

Ignore Error in Formula?

  1. #1
    Registered User
    Join Date
    06-23-2004
    Posts
    12

    Ignore Error in Formula?

    I'm trying to use a 'sumproduct' formula along the lines of:

    =SUMPRODUCT(--(PRODUCT=$B$1),--(WAREHOUSE=10),PRODUCT_INV)

    My problem is that in the range 'PRODUCT', there are cells with the #NAME error. This causes SUMPRODUCT to return the #NAME error as well.

    Is there a way to get around this without having to alter the original data in anyway?

  2. #2
    Forum Expert
    Join Date
    06-18-2004
    Location
    Canada
    MS-Off Ver
    Office 2016
    Posts
    1,474
    Try the following...

    =SUM(IF(ISTEXT(PRODUCT),(PRODUCT=$B$1)*(WAREHOUSE=10)*(PRODUCT_INV)))

    ...confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

    If the range PRODUCT contains numerical values, change ISTEXT to ISNUMBER.

    Hope this helps!

  3. #3
    Registered User
    Join Date
    06-23-2004
    Posts
    12
    Thank you very much!

+ Reply to Thread

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