Results 1 to 4 of 4

Thread: Sum columns in a row

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2004
    Posts
    3

    Sum columns in a row

    I am trying to figure out how to calculate the total from columns in a row. I can get the total right with only one item, but when I get the second item, it sums both.

    What I need :

    Item CostA CostB Total
    001 10 20 30
    002 10 30 40

    What I Get :

    Item CostA CostB Total
    001 10 20 30
    002 10 30 70

    help please. thanks.

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758
    A simple formula that adds CostA + CostB should be all you need.

  3. #3

    Thread Starter
    New Member
    Join Date
    Apr 2004
    Posts
    3
    I tried a simple formula but it sums the values from row 1 into the values of row 2. I guess I need it to clear out each time it hits a new group.

  4. #4
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758
    Do not use the Sum function.

    The formula would simply be.

    {TableName.CostA} + {TableName.CostB}

    Then place it in your details section.

    Show your formula.

Posting Permissions

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



Click Here to Expand Forum to Full Width