+ Reply to Thread
Results 1 to 3 of 3

If att all possible in excel - find all linked cells in a matrix and produce a list

  1. #1
    Registered User
    Join Date
    09-27-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    2

    Unhappy If att all possible in excel - find all linked cells in a matrix and produce a list

    Hi guys,
    Here is an interesting one, i am trying to unravell a matrix of hosts(H1 etc) and ports(F1 etc) where the relationship is many-to-many(one host can be connected to multiple ports and one port to multiple hosts). I can create a matrix listing all ports hoprizontaly, all hosts vertically and have a Y in the cell when there is a link. What I am trying to do is start from one cell and list all linked hosts and ports , sort of separate them in a cluster. Therfore it needs to be some form of recursive (i think it was called) algorithm to drill through the matrix and vertically and record all marked with Y hosts(H1..etc) and then for each host horizontally and record all linked with Y ports, while checking that there are no duplications.So for the below matrix(see the attachment - screen shot) when starting at cell H1/F1 the algorithm should return the following list - F1,F3,F5,H5,H8,H10,H13 as they are all linked, another run of the algorithm starting at cell H1/F2 should only return H2, F12 result, hope this make any sense at all and any help will be deeply apperciated!
    Matrix.PNGAttachment 379983
    Last edited by megarys; 02-27-2015 at 02:09 PM.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: If att all possible in excel - find all linked cells in a matrix and produce a list

    Hello megarys,

    Welcome to the Forum!

    You should explain what you mean by "linked cells". The most common meaning of this in Excel refers to cells that depend on formulas for their results. I suspect this not case here.

    Clearing up any confusion will help you get an answer more quickly. Whenever possible, you should post a copy of your workbook. This helps ensure that a solution can be tested on your data for accuracy and correctness.
    Last edited by Leith Ross; 02-27-2015 at 02:53 PM.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    09-27-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: If att all possible in excel - find all linked cells in a matrix and produce a list

    Hello, good point, thanks ,by linked I mean there is a logical connection in the real world between a host and port, captured by an "Y" in the cell , for example in the real world there is a connection between host H5 and port F1 therefore there is an "Y" where the H5 row crosses the F1 column, there are no formulas in the sheet I have captured in the screen shot - hope that makes more sense. For further clarification I am planning work on technology environment which consists of ports and hosts which logical connections between eachother. Once you touch a port you have to touch all hosts connected to it and once you touch a host then you need to touch all other ports connected to that host, if I go back to my screenshot if I am to execute any work on port F1 I can not do it in isolation , I'll need to execute the same work on ports F3,F5 and hosts H5,H8,H10,H13 ...

+ 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. Find multiple values in multiple ranges and produce results in a list
    By Sc0tt1e in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-07-2014, 02:11 AM
  2. Convert Matrix to List (excluding blank cells from list)
    By cameron.rumball in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-02-2013, 12:35 AM
  3. Using Autocad to produce parts list in excel
    By PHOENIXPHIL in forum Excel General
    Replies: 1
    Last Post: 05-18-2009, 11:26 AM
  4. [SOLVED] How do I find cells with linked content
    By Cowtoon in forum Excel General
    Replies: 5
    Last Post: 01-19-2006, 08:45 AM
  5. How to find linked cells
    By anoop in forum Excel General
    Replies: 1
    Last Post: 11-02-2005, 04:26 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