• SUMPRODUCT help (Excel 2003)

    Author
    Topic
    #438670

    I have the following formula in cell G9 of the Summary tab.

    =SUMPRODUCT(AvailDate<=$C9,Stmt)-SUMPRODUCT(MailDate<=SDate,Stmt)

    It doesn't appear to be working and I am not quite sure why. Perhaps this isn't the most efficient way to go about it. I picked this because it was the only one that I knew of that would allow me to use the <=. What I am trying to do is calculate a holdover amount, which is total received less total processed.

    Thanks for any assistance that you can provide!

    Viewing 0 reply threads
    Author
    Replies
    • #1046538

      Try

      =SUMPRODUCT((AvailDate<=$C9)*Stmt)-SUMPRODUCT((MailDate<=SDate)*Stmt)

      Explanation: by using *, you force Excel to interpret the result of AvailDate<=$C9 and of MailDate<=SDate as numbers (true = 1 and false = 0).

      • #1046539

        Thanks Hans!

        • #1046620

          Incidentally, you could just use SUMIF for this:
          =SUMIF(AvailDate,"<="&$C9,Stmt)-SUMIF(MailDate,"<="&SDate,Stmt)
          FWIW

    Viewing 0 reply threads
    Reply To: SUMPRODUCT help (Excel 2003)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: