+ Reply to Thread
Results 1 to 8 of 8

Matrix(?) Help

  1. #1
    Registered User
    Join Date
    08-23-2010
    Location
    Palmyra, PA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Matrix(?) Help

    I am not sure I'm using the right terminology for this, so am guessing a Matrix.

    I need to set up an Excel sheet that will allow me to combine two things and display the result. As a simple example, I have attached a sample spreadsheet with colors, showing the colors in the top row, and the left-column, with the results of being combined in the "body"

    What I want to be able to do is just fill out (for example) the "yellow" row, and have the "yellow" column populate automatically, so I don't have to fill out both manually.

    Is there a function/formula I can use to achieve this?

    In my real-life project, there will be about 300 items I will be combining, so doing it manually would be a huge time effort.
    Attached Files Attached Files

  2. #2
    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: Matrix(?) Help

    Welcome to the forum.

    How could Excel know that yellow and red makes orange?
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    08-23-2010
    Location
    Palmyra, PA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Matrix(?) Help

    No, I don't mean that. I mean (looking at my simplified example), if I type in "orange" in C2, then B3 also gets updated to orange (so I don't have to type it there as well).

    Expand that out to 300 columns and a corresponding 300 rows, and I would like it to update the "matrix" by only filling out the rows.

    Then I would fill out row 2, and column B would populate with the same values. Filling out row 3 would populate column C, row 4 would populate column D, and so on.

    To put it another way, I don't want to have to fill out 300 items in Row 2, then type those exact same 300 values going down Column B (would rather it just fill it in automatically since the "combined" values of both are going to be the same)
    Last edited by shg; 08-23-2010 at 12:56 PM. Reason: deleted quote

  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: Matrix(?) Help

    In B3, =INDEX($A$1:$D$4, COLUMNS($A3:B3), ROWS(B$1:B3))

    Copy to all cells in the lower left triangle of the matrix, and don't type over them.

  5. #5
    Registered User
    Join Date
    08-23-2010
    Location
    Palmyra, PA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Matrix(?) Help

    Great, that seems to work....how to I select a "triangle" range though so I can copy/paste this formula all at once?
    Last edited by shg; 08-23-2010 at 12:56 PM. Reason: deleted quote

  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: Matrix(?) Help

    You can't, you need to do it in sections.

  7. #7
    Registered User
    Join Date
    08-23-2010
    Location
    Palmyra, PA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Matrix(?) Help

    Ok...thank you very much for your help.
    Last edited by shg; 08-23-2010 at 12:56 PM. Reason: deleted quote

  8. #8
    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: Matrix(?) Help

    You're welcome.

    Please don't quote whole posts; it's just clutter.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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