+ Reply to Thread
Results 1 to 4 of 4

Gain Loss report

  1. #1
    Forum Contributor
    Join Date
    10-22-2014
    Location
    Ontario
    MS-Off Ver
    365
    Posts
    222

    Gain Loss report

    Hi.

    -I am stuck on correct formula for Column U beginning with U9. The remaining shares would be U8 Plus (if any) E9 and less (if any) O9.
    -I also tried to add colour to column W. Green if positive, Red if negative, Clear if value $0.
    -Also colour for column U. Blue if positive value, clear if zero value.

    Would appreciate the assistance.

    Thank you.Gain Loss Report.xls

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,945

    Re: Gain Loss report

    Change your formula to either 1 of these...
    =IF(E9="",0,U8+E9-O9)
    =IF(E9="","",SUM(U8,E9,-O9))

    You have tyour CF rules repeated a few times, delete the duplicate rules.
    The rules you need are...
    <0 format...fill red
    >0...format fill GREEN
    new rule/use formula =W9="" format fill white

    You can use the same approach for column U
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Contributor
    Join Date
    10-22-2014
    Location
    Ontario
    MS-Off Ver
    365
    Posts
    222

    Re: Gain Loss report

    Thank you for your great assistance. I am in need of one more item. Column AA. Trying to establish net gain/loss on exchange rate differential of buy versus sell.
    -Bought 10,000 shares (E8) at 3.84 per share(J8). Exchange rate 1.134 (K8). Cost per share after Exchange rate (M8) is $4.35 per share.
    -Sold 10,000 shares (O9) at $4.52 per share (T9). Exchange rate 1.144 (X9). Cost per share after Exchange rate (Z9) is $5.17 per share.
    I am thinking the answer is $1,400

  4. #4
    Forum Contributor
    Join Date
    10-22-2014
    Location
    Ontario
    MS-Off Ver
    365
    Posts
    222

    Re: Gain Loss report

    Thank you.
    Attached Files Attached Files
    Last edited by Peterino; 10-27-2014 at 01:27 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. adding a icon of gain or loss
    By zouraiz in forum Excel General
    Replies: 1
    Last Post: 12-05-2012, 05:31 AM
  2. Help with Formula for % gain or loss with variables
    By THTABE in forum Excel General
    Replies: 6
    Last Post: 06-15-2011, 06:17 PM
  3. Gain / Loss on account data
    By silkscreen in forum Excel General
    Replies: 1
    Last Post: 04-05-2010, 02:48 PM
  4. Pivot: Gain/loss over time
    By MegC in forum Excel General
    Replies: 2
    Last Post: 02-18-2009, 04:16 PM
  5. [SOLVED] does anyone have a chart for weight gain or loss in kilos?
    By Robynr in forum Excel General
    Replies: 3
    Last Post: 01-09-2006, 08:10 AM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1