Consulting

Results 1 to 4 of 4

Thread: Solved: problem with sum product formula

  1. #1

    Solved: problem with sum product formula

    Hi,
    I have written this sum product formula in Snap Shot sheet,from cells c5:c16
    The output is showing '0' though the output should have been something else.
    Attached Files Attached Files

  2. #2
    VBAX Tutor
    Joined
    Nov 2006
    Location
    North East Pennsylvania, USA
    Posts
    203
    Location
    arnab0711,

    Cell C3 contains:
    "April "

    Remove the trailing space character.


    And, try changing the formula in cell C5:

    from:
    =(SUMPRODUCT((pivot!$B$5:$B$1000=$C$2)*(pivot!$A$5:$A$1000=$C$3)*(pivot!$E$ 5:$E$1000=$B5)*(pivot!$F$5:$F$1000=1)))

    to this:
    =(SUMPRODUCT((pivot!$B$5:$B$1000=$C$2)*(pivot!$A$5:$A$1000=$C$3)*(pivot!$E$ 5:$E$1000=$B5)*(pivot!$F$5:$F$1000)))

    Cell C5 should display:
    135500

    Then copy cell C5 down to C16.


    Have a great day,
    Stan

  3. #3
    thanks its working now .

  4. #4
    VBAX Tutor
    Joined
    Nov 2006
    Location
    North East Pennsylvania, USA
    Posts
    203
    Location
    arnab0711,

    You are very welcome. Glad I could help.

    Come back anytime.

    Have a great day,
    Stan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •