Results 1 to 3 of 3
  1. #1
    Silver Lounger
    Join Date
    Jan 2002
    Posts
    1,615
    Thanks
    0
    Thanked 1 Time in 1 Post
    Hi!

    I have a report that has control [timelysynchtooffice] which will have results of either "Timely Submission" or "Late Submission". There is a corresponding control [sumoftotal] that gives the numeric result for each of the above. The report has a MATUser header and footer and MATDOC header. I need to be able to break out the Sum for "Timely Submission" and "Late Submission" not just the total sum for [sumoftotal]. I've tried a variety of conditional statements but so far nothing is going me what I need.

    Thanks,
    Leesha

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts
    To get the sum for "Timely Submission":

    =-Sum(([timelysynchtooffice]="Timely Submission")*[sumoftotal])

    or

    =Sum(IIf([timelysynchtooffice]="Timely Submission",[sumoftotal],0))

    Similar for "Late Submission".

  3. #3
    Silver Lounger
    Join Date
    Jan 2002
    Posts
    1,615
    Thanks
    0
    Thanked 1 Time in 1 Post
    Thanks! That is what I needed!! Now I can see why I was getting zeros.

    Leesha

Posting Permissions

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