+ Reply to Thread
Results 1 to 3 of 3

Sumproduct - returning error #Div/0! - Please help

  1. #1
    Registered User
    Join Date
    09-20-2012
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    1

    Sumproduct - returning error #Div/0! - Please help

    I am trying to calculate something using the following formula, but it returns with an error please help

    =SUMPRODUCT(--($D$2:$D$5229>=B$5231),--($D$2:$D$5229<=B$5232),--($Y$2:$Y$5229="2"))/SUMPRODUCT(--($D$2:$D$5229>=B$5231),--($D$2:$D$5229<=B$5232),--($Y$2:$Y$5229="1"))

    I am using Excel 2010


    Regards

  2. #2
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: Sumproduct - returning error #Div/0! - Please help

    yeah, i get divide by zero error too
    Elegant Simplicity............. Not Always

  3. #3
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,447

    Re: Sumproduct - returning error #Div/0! - Please help

    Hi
    if your values for range Y2:Y5229 are number, remove the double quotes $Y$2:$Y$5229=2

    Otherwise please perhaps post a small sample sheet

+ 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