PC Review


Reply
Thread Tools Rate Thread

calcuate gross gain and gross loss in Report Footer

 
 
Bruce
Guest
Posts: n/a
 
      8th Jan 2008
Hi,

I would like to calculate Gross Gain and Gross Loss totals in the Report
Footer of my Report. The best way to explain this is if I start with what I
already have on the report.

1. In the Report Detail I have the Fields [Trans_Type_Desc] (which is either
Buy or Sell value) and [Net consideration] (which is a transaction amount).

2. I have a footer grouped on a date that represents a complete transaction.
This has a Text Box that calculates profit for a single transaction as
follows;

=Sum(IIf([Trans_Type_Desc]="Sell",[Net
Consideration]))-Sum(IIf([Trans_Type_Desc]="Buy",[Net Consideration]))

3. In the report footer I have the same formula which calculates a grand
total profit for my report

=Sum(IIf([Trans_Type_Desc]="Sell",[Net
Consideration]))-Sum(IIf([Trans_Type_Desc]="Buy",[Net Consideration]))

What I need next is the Gross Gain which will be the sum of transactions in
2. that are favourable.

Finally the Gross Loss which will be the sum of transactions in 2. that are
unfavourable.

Does this make sense? Can anyone help please?

Bruce
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gross margin Don Y Microsoft Excel Misc 4 21st Oct 2009 01:44 PM
gross margin unojim Microsoft Excel Worksheet Functions 1 9th Oct 2008 09:43 PM
Design of Payroll Report (Gross Pay >=$25) Rita Microsoft Access Reports 1 27th Mar 2008 03:23 PM
gross profit =?Utf-8?B?ZWNvbmFjdW1lbg==?= Microsoft Excel Worksheet Functions 2 27th Nov 2006 11:15 PM
Payroll - net to gross? =?Utf-8?B?Q0Q=?= Microsoft Excel Misc 3 17th Feb 2005 07:48 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:05 PM.