+ Reply to Thread
Results 1 to 3 of 3

sumproducts producing #value errors

Hybrid View

  1. #1
    Registered User
    Join Date
    10-03-2008
    Location
    Ohio
    Posts
    13

    sumproducts producing #value errors

    SUMPRODUCT(--(RawMarketers=$C$3),--(RawDateGap))/(SUMPRODUCT(--(RawMarketers=$C$3)))

    RawMarketers and RawDateGap are names for specific columns, where RawMarketers = names of various marketers and RawDateGap = the amount of time between when appointments they create. In this formula, I am attempting to get the average daily gap between appointments.

    Unfortunately, in my RawDateGap column there are blank cells where there should be numbers, simply because the data cannot be counted for those appointments, so no data exists.

    I am not sure how to find the average gap, if this is the case.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: sumproducts producing #value errors

    You don't use the -- on the summing range...

    check range sizes (they should be the same)

    check for value error in the ranges

    check for text in the summing range...

    =SUMPRODUCT(--(RawMarketers=$C$3),RawDateGap)/(SUMPRODUCT(--(RawMarketers=$C$3)))
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

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

    Re: sumproducts producing #value errors

    If as it seems the data is stored in the same file as the calculation itself then there is no need for SUMPRODUCT at all

    =SUMIF(RawMarketers,$C$3,RawDateGap)/COUNTIF(RawMarketers,$C$3)
    which would be more efficient

    or if using XL2007+ use AVERAGEIF

+ 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