+ Reply to Thread
Results 1 to 7 of 7

Need a formula to calculate cumulative capital gains for a portfolio of properties

  1. #1
    Registered User
    Join Date
    06-25-2019
    Location
    Sydney
    MS-Off Ver
    Office 365 Business
    Posts
    4

    Question Need a formula to calculate cumulative capital gains for a portfolio of properties

    Greetings Excel Wizards

    I have a waterfall setup (see screenshot 1) with the figures representing the values of properties in a portfolio. As you can see properties are acquired at different times. I need a formula to dynamically calculate the capital gains for each property, accounting for the fact that different properties are acquired at different times. The second screenshot is the outcome I need (although I have calculated this manually (and inefficiently!))

    Edit: As requested I've uploaded a simple example worksheet (calculated manually)

    Many thanks
    Attached Files Attached Files
    Last edited by barnibald; 06-26-2019 at 06:40 PM.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,454

    Re: Need a formula to calculate cumulative capital gains for a portfolio of properties

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    06-25-2019
    Location
    Sydney
    MS-Off Ver
    Office 365 Business
    Posts
    4

    Re: Need a formula to calculate cumulative capital gains for a portfolio of properties

    Thanks Pepe I've done as you asked

  4. #4
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: Need a formula to calculate cumulative capital gains for a portfolio of properties

    Please try in G5 copied down to G7:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    This is the cumulative capital gain on each property.
    In G8:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    This is the total capital gain and is in agreement with your expected result in F19.

    Let me know if this is what you were looking for.
    Geoff

    Did I help significantly? If you wish, click on * Add Reputation to say thanks.
    If your problem has been resolved please select ?Solved? from the Thread Tools menu

  5. #5
    Registered User
    Join Date
    06-25-2019
    Location
    Sydney
    MS-Off Ver
    Office 365 Business
    Posts
    4

    Re: Need a formula to calculate cumulative capital gains for a portfolio of properties

    Hey Geoff

    Thanks for the response. That is beautifully simple - I hadn't thought to use MIN. The only problem is if the assets depreciate (rather than appreciate) over the forecast period (which they don't in the simplified example I posted, but could in practice)

  6. #6
    Registered User
    Join Date
    06-25-2019
    Location
    Sydney
    MS-Off Ver
    Office 365 Business
    Posts
    4

    Re: Need a formula to calculate cumulative capital gains for a portfolio of properties

    Think I've got it ;

    In the sample workbook I posted, if you use this formula in C14

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    and drag down/across, then take the sum, it should work,


  7. #7
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: Need a formula to calculate cumulative capital gains for a portfolio of properties

    Another option that allows for depreciation. In G5 copied down to G7:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Then as before, in G8: =SUM(G5:G7)

    Were you ideally looking for a single cell solution with the total cap-gain? Like the green highlighted cell F19?? If so, then that still eludes me, but if you're all set with what you have then I'm happy to call it a day

+ 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. Share inventory & capital gains on fifo basis
    By pulvi in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-20-2017, 09:42 PM
  2. [SOLVED] How do I calculate the gains/loses made from buying and selling a stock?
    By radiotower in forum Excel General
    Replies: 8
    Last Post: 12-29-2016, 10:48 PM
  3. Capital Gains Calculation
    By Peterino in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-30-2014, 04:05 PM
  4. Formula to calculate interest gained on a decreasing capital value
    By Lifecycle-SF in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-29-2014, 06:22 PM
  5. Replies: 3
    Last Post: 03-05-2013, 11:42 AM
  6. summarising data for calculating capital gains
    By frowdow in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-26-2010, 05:00 AM
  7. [SOLVED] [SOLVED] Template for IRS form capital gains/losses
    By R2005SC in forum Excel General
    Replies: 0
    Last Post: 01-17-2005, 03:06 PM

Tags for this Thread

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