+ Reply to Thread
Results 1 to 4 of 4

sumproduct issue

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    11-26-2010
    Location
    usa
    MS-Off Ver
    Office 365
    Posts
    1,225

    sumproduct issue

    hello

    having some trouble trying to sum for a YTD figure.

    i am trying to obtain P7 YTD figure for various listing.

    i am using the following sumproduct formula but getting a VALUE error:

    =SUMPRODUCT(--(Total!$A$9:$A$128=Calc!$B4),--(Total!$D$8:$P$8<=Calc!$G$3),(Total!$D$9:$P$128))

    essentially i want to sum by "listing" and find out the P7 YTD (i.e. P1+P2+P3+P4+...P7) total

    the P1 etc means...jan, feb, march


    can someone pls help??
    Attached Files Attached Files

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: sumproduct issue

    Dont you actually need just since none of your listings will be repeated..

    =INDEX(Total!$A:$P,MATCH(B4,Total!$A:$A,0),MATCH($G$3,Total!$8:$8,0))
    Last edited by Ace_XL; 07-31-2012 at 02:53 PM. Reason: Added absolute references
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Forum Contributor
    Join Date
    11-26-2010
    Location
    usa
    MS-Off Ver
    Office 365
    Posts
    1,225

    Re: sumproduct issue

    hey pal

    i need P1-P7 total

    since it a "year to date" figure....i need everything from P1-P7 as a total...not just P7

    any thoughts?

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: sumproduct issue

    Try this instead..

    =SUM(OFFSET(Total!$A$1,MATCH(B4,Total!$A:$A,0)-1,0,1,MATCH($G$3,Total!$8:$8,0)))

+ 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