• sum: sum only profit/loss (office xp)

    Author
    Topic
    #421165

    hello, i need to choose to sum figures that are >0 and <0 over a range more than thousand of cells. can someone help me here? attached is a sample task.

    thanks a lot.

    Viewing 2 reply threads
    Author
    Replies
    • #956077

      In your example workbook:

      =SUMIF(A2:A16,">0")
      
      =SUMIF(A2:A16,"<0")
      
    • #956078

      =SUMIF(A2:A1000,”>0″)

      =SUMIF(A2:A1000,”<0")

      Change ranges as appropriate

      Steve

      • #956080

        Coleman and Steve and Kieran,
        Thanks. Thanks a lot.

    • #956079

      Hi,

      Set B2 to =SUMIF(A2:A16,”>0″,A2:A16)
      Set C2 to =SUMIF(A2:A16,”<0",A2:A16)

      For your example.

      Adjust the A2:A16 refernces as appropriate for your real list size.

    Viewing 2 reply threads
    Reply To: sum: sum only profit/loss (office xp)

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

    Your information: