+ Reply to Thread
Results 1 to 4 of 4

Sumproduct not working when referencing a column of formulas

  1. #1
    Registered User
    Join Date
    02-20-2013
    Location
    Los Angeles, California
    MS-Off Ver
    Excel 2010
    Posts
    43

    Sumproduct not working when referencing a column of formulas

    I am updating our membership tracking spreadsheet to give me a month end summary instead of current snapshot using this formula:


    =SUMPRODUCT(--('Members 2015-16'!K2:K293>0),--('Members 2015-16'!Q2:Q293<=(EOMONTH(TODAY(),-1))))

    simply changing the red cell reference for the different columns I need data from. It works perfectly right up until column K. The difference between column K and the others is that column K contains the formula below rather than simple data.

    =IF(AND(ISBLANK(E2),ISBLANK(J2)),"",IF(J2>0,0,IF(D2-250-E2<0,0,D2-250-E2)))

    Any ideas would be greatly appreciated.

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Sumproduct not working when referencing a column of formulas

    I only have an observation.

    =SUMPRODUCT(--('Members 2015-16'!K2:K293>0),--('Members 2015-16'!Q2:Q293<=(EOMONTH(TODAY(),-1))))

    appears that it could use an additional criteria for the lower boundary of the date range.

    =SUMPRODUCT(--('Members 2015-16'!K2:K293>0),--('Members 2015-16'!Q2:Q293>EOMONTH(TODAY(),-2)),--('Members 2015-16'!Q2:Q293<=(EOMONTH(TODAY(),-1))))

    or whatever the appropriate column reference is.

    It's difficult to say without an uploaded Excel workbook example.

    If you are not familiar with how to do that instructions are here:

    http://www.excelforum.com/forum-rule...rum-rules.html
    Dave

  3. #3
    Registered User
    Join Date
    02-20-2013
    Location
    Los Angeles, California
    MS-Off Ver
    Excel 2010
    Posts
    43

    [SOLVED] Re: Sumproduct not working when referencing a column of formulas

    Thanks, Dave. If I wanted one month of data only, that is exactly how I would do it. I use the data from the beginning of fiscal year through the end of the month, hence only the one constraint.

    I actually just had a brain storm and figured out how to solve this by adding an additional criteria. The cells where the formula was returning "" had to be the problem, so I added a criteria that they could not be equal to ""

    =SUMPRODUCT(--('Members 2015-16'!$K$2:$K$293>0),--('Members 2015-16'!$K$2:$K$293<>""),--('Members 2015-16'!$Q$2:$Q$293<=(EOMONTH(TODAY(),-1))))

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: [SOLVED] Re: Sumproduct not working when referencing a column of formulas

    Good to hear.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] SUMPRODUCT #DIV/0! Error When Referencing Different Worksheet
    By NoMotion in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-02-2015, 07:48 AM
  2. [SOLVED] Dragging SUMPRODUCT formulas downward is not working properly
    By InterstateRentals in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-11-2014, 07:09 PM
  3. Formulas referencing cells stopped working
    By WLJ in forum Excel General
    Replies: 3
    Last Post: 08-11-2009, 01:03 PM
  4. SUMPRODUCT not working due to text in column
    By damiensmith212 in forum Excel General
    Replies: 3
    Last Post: 04-24-2009, 12:29 PM
  5. Relative column referencing within formulas
    By Alistair in forum Excel General
    Replies: 4
    Last Post: 02-23-2006, 01:40 PM
  6. Sumproduct formulas not working after editing
    By dave roth in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-13-2006, 05:45 PM
  7. [SOLVED] RE: Sumproduct formulas not working after editing
    By dave roth in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-13-2006, 04:45 PM

Tags for this Thread

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