+ Reply to Thread
Results 1 to 11 of 11

Cross Reference multiple columns and copy

  1. #1
    Registered User
    Join Date
    04-12-2009
    Location
    Maryland
    MS-Off Ver
    Excel 2003
    Posts
    5

    Cross Reference multiple columns and copy

    I am working with two sheets, Sheet one has 1 column of information with 12 columns to the right as categories. I want to be able to put an 'X' in any one of the 12 column rows, (category) and have a function that will copy/pastes the information from the main column (column #1, row=any) to the second sheet. I have tried True-False function, argument function, Vlook etc., I still cannot get it to work, any help would be appreciated.
    Last edited by bsmith127; 04-12-2009 at 06:13 PM. Reason: Forum Rule

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Need a function

    Pls ignore solution did not work
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    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: Need a function

    Welcome to the forum, bsmith.

    Please take a few minutes to read the forum rules about thread titles (and in general), and then amend your title accordingly.
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Need a function

    EDIT your original post, and update your title to something clarifying the issue, it's a forum rule... something like "Cross Reference multiple columns and copy"

    Then post up a MOCKUP of what you're doing, and include a mockup of your desired results. It makes it much simpler to just look at what your after instead of trying to decipher a description.

    To attach a workbook, GO ADVANCED and use the paperclip icon.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  5. #5
    Registered User
    Join Date
    04-12-2009
    Location
    Maryland
    MS-Off Ver
    Excel 2003
    Posts
    5

    Smile re: Cross Reference multiple columns and copy

    Changed 'Title' added 'sample workbook', thanks 4 tips

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    re: Cross Reference multiple columns and copy

    Hoping to avoid needing to use array-type formulas, so I'm suggesting you replace the "X" approach with a numerical listing for each column on the Master 1995 sheet. This allows a totally normal INDEX/MATCH type formula to do the heavy lifting for bringing each "list" over to each sheet.

    Have a look.
    Last edited by JBeaucaire; 04-13-2009 at 03:52 PM. Reason: Sheet removed...see below for latest version

  7. #7
    Registered User
    Join Date
    04-12-2009
    Location
    Maryland
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Cross Reference multiple columns and copy

    Unbelievable! thank you.

    Can it be one numerical value like '1' reflective of my original intent 'X' constant. The sample I put online was reduced down to 15 rows, my original version has 935+ rows. A '1' will be easier on the eyes however will a redundant '1' do the heavy lifting? I have tried changing the 'IF' to get it to '1' on all rows but this is so far over my head. In addition I break the columns with reiteration of packages at every division for printing purposes and the function doesn't like this one bit.

    Not a rocket scientist, just a blue collar worker trying to get two feet off the ground, literally...
    Attached Files Attached Files
    Last edited by bsmith127; 04-13-2009 at 07:04 AM.

  8. #8
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Cross Reference multiple columns and copy

    You didn't adjust the formulas to include the new range. The formulas I used only went down 15 rows of data.

    EDIT: workbook attached

    I decided to go back to your original "X" approach and add a hidden "key" column between them to do the indexing. You can hide/unhide them by clicking the [ + ] symbols at the top of the page.

    This sheet is HUGE, my friend, so there are always going to be performance issues when you're trying to keep 1000 rows of data updating in realtime against 15 sheets, not sure what to advise about that.

    The individual sheets need the formulas copied down as far as necessary to show all the references...upwards of 1000 rows each, right?
    Attached Files Attached Files
    Last edited by JBeaucaire; 04-13-2009 at 03:52 PM. Reason: Workbook attached

  9. #9
    Registered User
    Join Date
    04-12-2009
    Location
    Maryland
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Cross Reference multiple columns and copy

    Solved! Rocket Scientists Rock! Thank you JBeaucaire you are the Rocket Man! 5 Stars *****!

  10. #10
    Registered User
    Join Date
    04-12-2009
    Location
    Maryland
    MS-Off Ver
    Excel 2003
    Posts
    5

    Red face [Solved] Cross Reference multiple columns and copy

    A true Rocket Scientist can put a monkey in space and return him safely to Earth. JBeaucaire did just that!

    Thanks JB
    Chimp #343563

  11. #11
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Cross Reference multiple columns and copy

    <chuckle> Glad it's working for you.

    If that takes care of your need, be sure to EDIT your original post (Go Advanced) and mark the PREFIX box [SOLVED]

+ 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