+ Reply to Thread
Results 1 to 3 of 3

Sumproduct vertically and horizontally

  1. #1
    Forum Contributor
    Join Date
    11-25-2011
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    107

    Sumproduct vertically and horizontally

    I'm trying to do the sumproduct vertically and horizontaly but can't get it to work. Any ide how to fix this?

    =SUMPRODUCT(--(CXV!$A$6:$A$12=$A7),--(CXV!$P$5:$AA$5=$C$5),CXV!$P$7:$P$1

    Obviously the problem is with middle part.

    Thank you
    Last edited by jimstrongy; 03-21-2012 at 06:00 PM.

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

    Re: Sumproduct vertically and horizontally

    Maybe:

    =SUMPRODUCT((CXV!$A$6:$A$12=$A7)*(CXV!$P$5:$AA$5=$C$5),CXV!$P$6:$AA$12)
    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 Contributor
    Join Date
    11-25-2011
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    107

    Re: Sumproduct vertically and horizontally

    Quote Originally Posted by NBVC View Post
    Maybe:

    =SUMPRODUCT((CXV!$A$6:$A$12=$A7)*(CXV!$P$5:$AA$5=$C$5),CXV!$P$6:$AA$12)
    Thank you NBVC

+ 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