+ Reply to Thread
Results 1 to 10 of 10

Automatically copy data from one sheet to another

  1. #1
    Registered User
    Join Date
    08-09-2012
    Location
    Des Moines, IA
    MS-Off Ver
    Excel 2003
    Posts
    5

    Automatically copy data from one sheet to another

    I want to know if it is possible to copy data in the same workbook from one sheet which compiles the entire months activity, to another sheet in the same workbook that has them separated by which team they are on.

    Here is a sample of what I mean. I have sheets 1-3 by month, and I would like it if, as I enter information for a given month, that there is some kind of a macro that searches for the same name in the sheet that is separated by team number and inputs the information from the master to the one separated by team number.

    Sample For Forum.xlsx

    If someone could let me know if it is possible, I'd really appreciate it.

  2. #2
    Registered User
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,164

    Re: Automatically copy data from one sheet to another

    Do you want the copy paste to happen at the click of a button?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    08-09-2012
    Location
    Des Moines, IA
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Automatically copy data from one sheet to another

    Well that would be fine yes. I just want the information to separate by tem instead of staying in an overall type of format without having to manually enter te information twice.

    I dd figure out a way to do this on the same sheet. Instead of having a separate sheet to separate by team, if I add that to the bottom of the monthly sheets I can use the LOOKUP function to check th data for a given name and then put it in the right row. But that forces me to put that function in every single cell of the separate by te so that it knows where to look. If I can't fine anything else that is how I am going to have to do it

  4. #4
    Registered User
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,164

    Re: Automatically copy data from one sheet to another

    So the numbers for July, August, etc should be summed and entered into the By Team sheet?

  5. #5
    Registered User
    Join Date
    08-09-2012
    Location
    Des Moines, IA
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Automatically copy data from one sheet to another

    I basically just want it to re-sort from being in alphabetical order on one sheet, to being sorted by team on the other sheet.

    I could just sort them by team on the original sheet instead of by alphabetical order, except (although it is not in my example there) I need them to be in three different individual sections/categories every month, but the sort by team is not separated like that. So per month I want to be able to find everyone in there respective section in alphabetical order, but also be able to break that information down by team without the different sections.

    I'm sorry if it is not making sense. I don't need a sum of the months under the team sheet, I just wanted to be able to run a macro or something that would allow each month to be re-sorted by team on the other sheet. I just wasn't sure if this is possible or not.

    Thanks for the reply

  6. #6
    Registered User
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,164

    Re: Automatically copy data from one sheet to another

    So in other words, you only need the info in column A to be populated by the macro? You do not want the numbers to be shown?

  7. #7
    Registered User
    Join Date
    08-09-2012
    Location
    Des Moines, IA
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Automatically copy data from one sheet to another

    No, I want everything to come over. Just to be resorted by team instead of by name.

  8. #8
    Forum Contributor thameem127's Avatar
    Join Date
    04-06-2012
    Location
    Jeddah,Saudi Arabia
    MS-Off Ver
    Excel 2003,Excel 2007
    Posts
    321

    Re: Automatically copy data from one sheet to another

    Try this sample code which is copied from www.ozgrid.com

    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    08-09-2012
    Location
    Des Moines, IA
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Automatically copy data from one sheet to another

    Thanks everyone for all your help. Great forum!!

  10. #10
    Registered User
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,164

    Re: Automatically copy data from one sheet to another

    This time, i will mark it [SOLVED] for you. Next time please ensure you do it for your threads.

    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.
    Last edited by arlu1201; 09-03-2012 at 04:30 AM.

+ 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