+ Reply to Thread
Results 1 to 7 of 7

Copy Column Data from one shhet to another

  1. #1
    Registered User
    Join Date
    07-05-2011
    Location
    Texas
    MS-Off Ver
    Excel 2003
    Posts
    17

    Copy Column Data from one shhet to another

    What is tyhe best way(without vba) to copy all data in a column from one sheet to another.

    Here is what I am needing to do

    Dates are going across in cells A1:Z1
    Data is below each date from A2:A57 and so on.

    On a seperate sheet I am trying to copy an entire column based on the date. So If the date given is in G1 then all of the data in column G will copy from sheet1 to sheet2.

    Thanks for the help.

    TB

  2. #2
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: Copy Column Data from one shhet to another

    Can you upload sample workbook?

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

    Re: Copy Column Data from one shhet to another

    It won't "copy" but it will appear. If your date is in G1, put this formula in G2 and copy down:

    =OFFSET(INDEX(Sheet1!$A$1:$Z$1, MATCH(G$1, Sheet1!$A$1:$Z$1, 0)), ROW()-1,,,)
    _________________
    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!)

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Copy Column Data from one shhet to another

    I don't think you need the OFFSET(). This would suffice:

    =INDEX(Sheet1!2:2,MATCH($G$1,Sheet1!$1:$1,0)) and dragged down
    Last edited by Cutter; 04-30-2012 at 07:01 PM.

  5. #5
    Registered User
    Join Date
    07-05-2011
    Location
    Texas
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Copy Column Data from one shhet to another

    Here is a sample sheet. I could not get either of those to work, but I am sure I was doing something wrong. Thanks again.
    Attached Files Attached Files

  6. #6
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Copy Column Data from one shhet to another

    In Sheet2 G3 put this formula:

    =INDEX(Sheet1!3:3,MATCH(G$1,Sheet1!$1:$1,0)) and copy over and down

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

    Re: Copy Column Data from one shhet to another

    That's great, Cutter. ;


    TB, if that takes care of your need, please select Thread Tools from menu above and set this topic to SOLVED.

  8. #8
    Registered User
    Join Date
    07-05-2011
    Location
    Texas
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Copy Column Data from one shhet to another

    Thaks again for help. Marking 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