+ Reply to Thread
Results 1 to 8 of 8

Find the value of the sum in the expression

  1. #1
    Registered User
    Join Date
    09-12-2014
    Location
    Chester, England
    MS-Off Ver
    2013
    Posts
    18

    Find the value of the sum in the expression

    Consider the matrix below. Calculate the expression using Excel. What is the value of the sum of the diagonal elements? a11 + a22.

    Eqn001.gif


    Could somebody help me with this question please?

  2. #2
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Find the value of the sum in the expression

    Hi,
    Welcome to this forum...
    Try using Matrix Multiplication...
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    However you can also use ranges instead of array..

    It will return an 2 x 2 array..
    {3,-13;3,-7}

    if you want to sum it ... then use
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    will return -14
    Regards,
    Vikas Gautam
    Excel-buzz.blogspot.com

    Excel is not a matter of Experience, its a matter of Application.

    Say Thanks, Click * Add Reputation

  3. #3
    Registered User
    Join Date
    09-12-2014
    Location
    Chester, England
    MS-Off Ver
    2013
    Posts
    18

    Re: Find the value of the sum in the expression

    Thank you, Vikas_Gautam! You helped me a lot! I had no idea what function could use! Thanks!

  4. #4
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Find the value of the sum in the expression

    You are always welcome..

  5. #5
    Registered User
    Join Date
    09-12-2014
    Location
    Chester, England
    MS-Off Ver
    2013
    Posts
    18

    Re: Find the value of the sum in the expression

    I have one more doubt, if I change the order of values: = sum (MMULT ({7.1, 4.1}, {0, -2, 3.1})) as you had done , and put in order of the image: =sum(MMULT({7.4, 1.1},{0, -2, 3.1})), resulting in 4 and not -14. Is this wrong? I mean, this change in the order of numbers influences in diagonal sum of the elements?
    Last edited by Amelia_T; 09-12-2014 at 11:35 PM.

  6. #6
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Thumbs up Re: Find the value of the sum in the expression

    Amelia..
    Actually what I suggested you is as good as multiply to Matrices as we normally do..
    Changing the elements' position in the matrix will obviously change the result..

    I more thing I wanna clear is that Excel uses ";" to differentiate the ROWS and "," to differentiate the COLUMNS.. (without Quotes..)

    However you can also use the ranges instead of Arrays...
    try the attached file..
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    09-12-2014
    Location
    Chester, England
    MS-Off Ver
    2013
    Posts
    18

    Re: Find the value of the sum in the expression

    Yes, I understood what you said now. Thank you again for the reply and also for the file! You helped me a lot!

  8. #8
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Find the value of the sum in the expression

    You are always welcome...

+ 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] Find expression causing "Subscript out of range" error
    By aseret in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-08-2013, 12:05 AM
  2. [SOLVED] Find a string by VBA Regular Expression and replace a part of that string
    By taps in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-25-2013, 11:08 AM
  3. Find and Replace Feature with Expression
    By XLAnt in forum Excel General
    Replies: 3
    Last Post: 01-04-2013, 03:40 AM
  4. "Find" expression won't work
    By Harold Good in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-28-2006, 07:20 AM
  5. "Find" expression won't work
    By Harold Good in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-26-2006, 06:05 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