+ Reply to Thread
Results 1 to 3 of 3

Matrix Adjustment

  1. #1
    Registered User
    Join Date
    12-08-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    18

    Matrix Adjustment

    Hi Friends,

    Is it possible to fill up (5% error acceptable) the cells in "Estimated Matrices" base on cell ratio of "Base Matrices" by matching both Row & Column total (which are fixed) of “Estimated Matrices" I have attached file for your reference. Please find the attachment.


    Thanks in advance.

    Regards,
    srikanthk
    Attached Files Attached Files
    Last edited by srikanthk; 08-28-2015 at 06:38 AM.

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,613

    Re: Matrix Adjustment

    It is a good task for solver tool (If you indeed have excel 2003 as your profile states - you probably has to install it first from software distribution CD. In any case if you do not see Solver check with your version help how to install/activate it).


    See attached file - I added only formulas summing rows and columns K10 and copy right and Q4 and copy down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Then added squared of differences between a sum for row/column and required values in Q10:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    This cell is used as a goal cell for solver and a goal is to minimize this cell.

    Now three options:

    A) If you want best martix - use as a first estimate your sum/number of cells (so =P9/25) value (in sample case 2430) and write it in all K4:O8 cells. These cells will be changed cells for solver (see Sheet1)

    B) If you want proportional change write in a cell a common factor (start with 1) - for instance in cell H14. This cell will be the only changed cell for solver. In K8 write formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and copy it to whole K4:Q8 range. See Sheet2.

    C) As B but the aim is to minimize differences in all sums, while applying the same factor use cell H14 as above, cells K11 and right, R4 and down and R11 formulas:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    R11 as goal cell and the goal is to minimize it. (Sheet 3)

    I expect Sheet1 is what you look for, but then, there is no need to know base matrice, so I added B and C versions.
    Attached Files Attached Files
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    12-08-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    18

    Re: Matrix Adjustment

    Dear Sir,

    Sorry for late reply from my side.

    Thanks for your help and suggestions!! Really appreciate!!

    Regards,
    srikanth

+ 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. Finding a specific row of a matrix in another matrix
    By hfarhadi in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-27-2014, 04:14 PM
  2. Replies: 2
    Last Post: 11-05-2014, 03:41 AM
  3. Eigenvector of matrix for nxn matrix of variable size
    By rocketscientist165 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-14-2014, 10:51 AM
  4. Replies: 10
    Last Post: 03-27-2014, 06:05 PM
  5. Matrix: Identify cell content in column for a row if matrix content true
    By deuy2014 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-21-2014, 11:52 AM
  6. Replies: 2
    Last Post: 02-11-2014, 05:05 AM
  7. Using a transition matrix as input to a cummulative matrix
    By Walter12 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-26-2012, 04:19 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