Results 1 to 6 of 6

Using the SUMIF() function w/ #DIV/0! errors in range

Threaded View

  1. #1
    Forum Contributor
    Join Date
    04-05-2007
    Location
    Arlington, TX
    MS-Off Ver
    Office 2010
    Posts
    164

    Using the SUMIF() function w/ #DIV/0! errors in range

    I have literally tried every formula I know of and criteria to ignore the #DIV/0! errors in the sum range, and I can't seem to figure anything out.

    Here is my current formula:

    =SUMPRODUCT(D5:D16,E5:E16)/SUM(SUMIF(E5:E16,">"&0))

    I'm doing a weighted average of two columns which contain #DIV/0! errors in them (because they are yet to be calculated) and I want to add up the column and ignore or return #DIV/0! errors as zero. Both column D and E contain #DIV/0! errors. I'm not quite sure what is the best method for ignoring errors using the sumproduct formula. I've tried 4 different methods and none have worked for me.

    What is the best approach to this? What am I doing wrong?
    Last edited by Pyrex238; 04-19-2011 at 02:40 PM.

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