+ Reply to Thread
Results 1 to 6 of 6

Trying to obtain the ROI value for an investment portfolio.

  1. #1
    Registered User
    Join Date
    09-13-2015
    Location
    london
    MS-Off Ver
    2007
    Posts
    21

    Trying to obtain the ROI value for an investment portfolio.

    I am having an issue with getting the right sort of formula for an ROI value The value changes as the month progresses. See July totals in yellow for how it is set up to calculate the various cells in the same row.

    I tried using sumifs but I’m not sure if there a different and easier way to attempt this, as there are lots of elements to this formula to enable it to work correctly and I am by no means a formula expert. The daily entries will make the ROI value change as the day date increments by one until the end of the month arrives and holds the value. When the next month starts the whole process is repeated for August Sept Nov etc.


    I have att: a sample sheet for you perusal
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,594

    Re: Trying to obtain the ROI value for an investment portfolio.

    I believe that the following array entered formula* will do what you want:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    *Array entered formulas are confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    This proposal necessitates that the formula in J34 and down be modified to read: =IF(G4="",0,(G4+B4))
    Note that the zero values are hidden using conditional formatting.
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Registered User
    Join Date
    09-13-2015
    Location
    london
    MS-Off Ver
    2007
    Posts
    21

    Re: Trying to obtain the ROI value for an investment portfolio.

    hI JeteMc, Thanks for your input, I have never used sumproduct before and never knew how to activate it either, so thanks for the valuable info. If you take a look at cell J82 make it =100,000 which is the same as L$2. Now when you veiw cell O27 you will notice that the resulting figure to my mind doesn't appear correct. I have formatted the cell O27 as a % but still see the result that looks incorrect. Is it that I cant see the wood for the trees? Ha Ha.
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,594

    Re: Trying to obtain the ROI value for an investment portfolio.

    It would seem to me that as the cell is formatted as percent then the *100 could be removed from the end of the formula, so that it would read:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Normally SUMPRODUCT only requires pressing the Enter key for activation. The MAX(IF... segment of the formula is what requires the Ctrl + Shift + Enter activation.
    Let us know if you have any questions.

  5. #5
    Registered User
    Join Date
    09-13-2015
    Location
    london
    MS-Off Ver
    2007
    Posts
    21

    Re: Trying to obtain the ROI value for an investment portfolio.

    Sorry I have been away for a few days. Thanks for your time and input, it great to get some advice from a proffesional person who understands what is being asked.
    Take an early finsh for the day ( ha ha).
    Cheers
    Del..

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,594

    Re: Trying to obtain the ROI value for an investment portfolio.

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools menu above your first post. I hope that you have a blessed 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. Replies: 6
    Last Post: 04-13-2022, 12:31 AM
  2. [SOLVED] #VALUE! - When trying to do portfolio optimization
    By needhelpthanks in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-09-2016, 12:55 PM
  3. Replies: 2
    Last Post: 03-06-2016, 11:44 AM
  4. [SOLVED] Need help portfolio simulation
    By pulkownik in forum Excel General
    Replies: 11
    Last Post: 06-15-2013, 07:52 AM
  5. Covariance Matrix and Efficient frontier for a portfolio help
    By z71dawg101 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-03-2013, 11:33 PM
  6. [SOLVED] Cumulative investment by date & date of first investment
    By adelcap in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-10-2012, 07:42 AM
  7. [SOLVED] How do I create an investment portfolio for my clients?
    By Mr. Cohen in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 01-17-2006, 05:10 PM

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