+ Reply to Thread
Results 1 to 5 of 5

SUMPRODUCT Formula with Dynamic Last Row

  1. #1
    Forum Contributor
    Join Date
    06-17-2010
    Location
    Philadelphia, PA
    MS-Off Ver
    Excel 2010
    Posts
    228

    SUMPRODUCT Formula with Dynamic Last Row

    Hello Everyone,

    I've looked online and found a couple threads that were similar but nothing that was exactly what I was looking for. I am trying to put together a SUMPRODUCT formula with a dynamic last row. I think my issue isn't with the conditions, but with the column that it's supposed to be summing. Here is the code.

    Please Login or Register  to view this content.

    If someone could show me what I have wrong here, I'd appreciate it.

    Thanks!

  2. #2
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: SUMPRODUCT Formula with Dynamic Last Row

    this look problamatic

    Please Login or Register  to view this content.
    maybe
    Please Login or Register  to view this content.
    Ernest

    Please consider adding a * if I helped

    Nothing drives me crazy - I'm always close enough to walk....

  3. #3
    Forum Contributor
    Join Date
    06-17-2010
    Location
    Philadelphia, PA
    MS-Off Ver
    Excel 2010
    Posts
    228

    Re: SUMPRODUCT Formula with Dynamic Last Row

    Yeah, I believe that was one of the little changes I tried out. I end up getting a "Compile error: Expected: end of statement" error that highlights the second to last parenthesis.

  4. #4
    Forum Contributor
    Join Date
    06-17-2010
    Location
    Philadelphia, PA
    MS-Off Ver
    Excel 2010
    Posts
    228

    Re: SUMPRODUCT Formula with Dynamic Last Row

    Ahhh - I think I got it... I just added one more quotation after 'Data'!Z$2:Z$. So the final code looks like:

    Please Login or Register  to view this content.

  5. #5
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: SUMPRODUCT Formula with Dynamic Last Row

    actually even mine is missing a Quote....

+ 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