+ Reply to Thread
Results 1 to 5 of 5

Matrix Style Reading: Reading from one cell to cause change in another cell

  1. #1
    Registered User
    Join Date
    03-26-2013
    Location
    Canada
    MS-Off Ver
    ms365
    Posts
    79

    Matrix Style Reading: Reading from one cell to cause change in another cell

    Hello Everyone,

    I have created a sheet called 'Trials'. In it I have organized data in a matrix-style; the columns have a heading (A-O) and rows have a heading (1-54) in between cells are filled with banks and the word YES. Then I have made a dropdown box in cell F6 on a sheet called 'Main'. When the drop down is selected it shows a list of names of the headings from Columns B-P and shows values of A-O. This part is working fine (please see file attached). How do I make it so when a cell is selected from drop down in F6, it shows only corresponding heading, which is connected with the word YES to the row value. for example 1: If I choose from drop down box the value 'B', the values of choice in drop down box at G5(of Main) should be 22,23,24,25,26. If I choose from drop down box the value 'K', the values of choice in drop down box at G5(of Main) should be 18, 27, 31. Please see the attach file to get the visual understanding. Thank you so much in advance. Any help would be greatly appreciated.
    regards,

    SN
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,000

    Re: Matrix Style Reading: Reading from one cell to cause change in another cell

    One way. In trial, R2, copied down:

    =IFERROR(INDEX(A:A,AGGREGATE(15,6,ROW($A$2:$A$55)/(INDEX($B$2:$P$2,MATCH(Main!$F$6,Trial,0)):INDEX($B$55:$P$55,MATCH(Main!$F$6,Trial,0))="Yes"),ROWS(R$2:R2))),"")

    Then use this as a named range (List) for DV in the target cell:
    =Trial!$R$2:INDEX(Trial!$R$2:$R$16,SUMPRODUCT(--(LEN(Trial!$R$2:$R$16)>0)))
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    03-26-2013
    Location
    Canada
    MS-Off Ver
    ms365
    Posts
    79

    Re: Matrix Style Reading: Reading from one cell to cause change in another cell

    Thank you so much. I can work with this
    cheers

  4. #4
    Registered User
    Join Date
    03-26-2013
    Location
    Canada
    MS-Off Ver
    ms365
    Posts
    79

    Re: Matrix Style Reading: Reading from one cell to cause change in another cell

    If I wanted to add another word "Maybe" to match in some cells. and if the cell is 'maybe', it will appear in the dropdown list highlighted yellow.
    I tried to modify the formula you gave to add "maybe" but it just shows blank:

    =IFERROR(INDEX(A:A,AGGREGATE(15,6,ROW($A$2:$A$55)/(INDEX($B$2:$P$2,MATCH(Main!$F$6,Trial,0)):INDEX($B$55:$P$55,MATCH(Main!$F$6,Trial,0))=OR("Yes", "maybe")),ROWS(R$2:R2))),"")

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,000

    Re: Matrix Style Reading: Reading from one cell to cause change in another cell

    Amend as shown:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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. Reading and writing a 40x40 matrix using VBA code
    By slobdiddy in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-04-2016, 02:01 PM
  2. Problem with reading the cell value
    By marinko9 in forum Excel General
    Replies: 3
    Last Post: 10-17-2012, 07:46 AM
  3. Pick the last reading and time of that reading
    By thmehr in forum Excel General
    Replies: 10
    Last Post: 03-22-2012, 07:56 PM
  4. reading last cell value
    By engnouna in forum Excel General
    Replies: 1
    Last Post: 02-20-2009, 06:38 AM
  5. Reading a cell in VBA
    By Ruatha in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 06-11-2006, 11:12 AM
  6. Reading last cell
    By jackh7777777 in forum Excel General
    Replies: 2
    Last Post: 05-25-2006, 08:35 PM
  7. Reading formulae in a different cell
    By Albert in forum Excel General
    Replies: 3
    Last Post: 05-05-2006, 05:45 AM

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