+ Reply to Thread
Results 1 to 7 of 7

Trying to calculate portfolio variance but get #Value! error

  1. #1
    Registered User
    Join Date
    08-24-2016
    Location
    Toronto, ON
    MS-Off Ver
    2010
    Posts
    3

    Trying to calculate portfolio variance but get #Value! error

    Hi, I am trying to calculate the variance of a stock portfolio but I receive an #Value error when I have tried to research this online and I have tried two formulas but not working, any help please? formulas I used are: (I tried both but both gave the same error

    =MMULT(MMULT(TRANSPOSE(E4:E9),H4:M9),E4:E9)

    =MMULT(TRANSPOSE(E4:E9),MMULT(H4:M9,E4:E9))

    sample excel file attached
    Attached Files Attached Files
    Last edited by will789123; 08-24-2016 at 02:50 PM. Reason: change title and add excel file

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Please help #VALUE! error when trying to calculate variance

    Please read and adhere to these simple rules!

    1. Use concise, accurate thread titles. Your post title should describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change the title of the thread, click EDIT on the original post, then click the Go Advanced button, then change the title. If two or more days have passed, the EDIT button will not appear, and you need to ask a moderator to change the title.


    Second.

    You get better result on your question if you add a small excel file, without confidential information.

    Please also add the expected results manualy in your file.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    08-24-2016
    Location
    Toronto, ON
    MS-Off Ver
    2010
    Posts
    3

    Re: Please help #VALUE! error when trying to calculate variance

    ok, I changed the title and added a sample file, thanks!

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Trying to calculate portfolio variance but get #Value! error

    The formula MUST be confirmed with Ctrl+Shift+Enter rather than just Enter.
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Registered User
    Join Date
    08-24-2016
    Location
    Toronto, ON
    MS-Off Ver
    2010
    Posts
    3

    Re: Trying to calculate portfolio variance but get #Value! error

    Looks like it works, Thank you!!

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Trying to calculate portfolio variance but get #Value! error

    You're welcome.

  7. #7
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Trying to calculate portfolio variance but get #Value! error

    If your question has been solved please mark the thread as being solved.

    In the menu bar above the very first post select Thread Tools, then select Mark this thread as solved.

    It'd also be appreciated if you were to click the add Reputation button at the foot of any of the posts of those who helped you reach a solution.

+ 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. [SOLVED] Need formula to calculate YTD variance of current and prior year
    By mvparker79 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-25-2014, 03:54 PM
  2. Calculate variance without including zeros
    By zurdososh in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-17-2013, 05:29 PM
  3. [SOLVED] Index/Match - To calculate variance
    By Pavan.Sada.PS in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-11-2013, 10:37 AM
  4. Replies: 1
    Last Post: 05-30-2013, 01:32 PM
  5. Suggestions: New methods to calculate the variance
    By ansari.imran in forum Excel General
    Replies: 0
    Last Post: 08-12-2010, 06:13 AM
  6. How To Calculate Variance B/W Actual and Forecast Data
    By Cherish2007 in forum Excel General
    Replies: 1
    Last Post: 03-28-2007, 05:01 PM
  7. Replies: 1
    Last Post: 08-08-2005, 01:45 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