+ Reply to Thread
Results 1 to 5 of 5

Linking 1 cell with others next to it

  1. #1
    Registered User
    Join Date
    06-30-2011
    Location
    Auckland, New Zealand
    MS-Off Ver
    Excel 2007
    Posts
    13

    Linking 1 cell with others next to it

    We have a program that outputs as per the attachment. The list of people is 500 names. I need to be able to using a list of 60 names extract each name and the information beside it. I am doing this manually at the moment however it just be comes tedious when a change is made and I have to go through it again. I thought of doing it with macros but some of the names have no information beside them and they are not evenly spaced in places, Also, when another person it inserted in the list, the macro loses the reference points. I have tried to use OFFSET but can't seem to get my head around it and LOOKUP and MATCH had me totally defeated. Is there a way of using IF to search for a name then have something else gather the information that pertains to that name. Hope I have made this easy to understand?
    Attached Files Attached Files
    Last edited by number novice; 12-09-2011 at 03:03 AM.

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Linking 1 cell with others next to it

    Hi

    This does use a macro to reformat your source data into a shape that will allow formulas to bring in the relevant data.

    Open the file, and run the macro aaa (in module 1). It has only been setup for Juliet / J Schedule so far, but you can expand the sheets it uses by including more details in the line
    Please Login or Register  to view this content.
    I've changed the formulas on juliet to use match / offset to bring back the data.

    If this would work for you, then you could either use conditional formatting to color the cells, or use another macro to clear any existing color formatting, then input according to the result from the formulas.

    Have a go and see if it would help.

    rylo
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    06-30-2011
    Location
    Auckland, New Zealand
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: Linking 1 cell with others next to it

    OMG,

    have just opened your reply and realised that I uploaded the wrong attachment. What I did upload was what I place the information into after I have sorted it. Find attached the file that I was supposed to submit. As you can see, with both files now there, I was hoping to be able to search through and pull out the matching names, with their associated information. I have been trying to do it as the "IF" command using the name of the person but then got beaten by how to attach the associated information with it. Then I was going to link it with the first file you have. So sorry for using up your valuable time. can you see anyway around what I am trying to do?
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Linking 1 cell with others next to it

    Hi

    Open the attached file, then open the shift_j.xls file and make sure that shift_j is the active workbook.

    Then run the macro doit. It isn't complete, but it should give you an idea on where I'm heading. See if this could be expanded to give you the result you are chasing.

    Note that there are a a couple of time blocks in the data that I don't have a code to match based on your original file.

    rylo
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    06-30-2011
    Location
    Auckland, New Zealand
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: Linking 1 cell with others next to it

    rylo,

    You are a genius. I can't believe you got a macro to do all that. It is exactly what I was hoping to get. Will I be able to edit the name and time list for the lookup with out destroying anything? Is there a limit on the size of the range that they are contained in?

+ 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