+ Reply to Thread
Results 1 to 6 of 6

Macro for moving multiple rows/columns with different criteria to different sheets

  1. #1
    Registered User
    Join Date
    12-31-2015
    Location
    Red Room, Black Lodge
    MS-Off Ver
    2010
    Posts
    4

    Macro for moving multiple rows/columns with different criteria to different sheets

    Hi,

    I have been visiting this site for quite some time and really enjoy it. I appreciate everyone's help and have learned a lot...but this is my first post so sorry if it is confusing, or if it has already been mentioned somewhere. I have searched and not found anything about my problem, or maybe I am just phrasing it incorrectly...anyways here goes

    I have the below information in 1 worksheet...and obviously there would be more rows columns data etc... I need to move each person to a new sheet, but keeping their characteristics(products,sales,weight etc...) with them too. I found a macro that moves each person and the data into a different sheet, however the headers in each next sheet is always the same as for Scott for example...but I want Kimmy in the next sheet with those headers and their data that are specific to her(products,type,day,sales) and the same for Rick and anyone else who comes after. Right now I am not sure if there is a space between the peoples names when I run this report in our system, I don't know if that makes a difference.

    Is it at all possible to achieve what I am asking for?

    city days products
    Scott London 2 19
    Scott Hamilton 8 32
    Scott Sydney 1 7



    products type days sales
    Kimmy 45 single 18 15000
    Kimmy 10 multiple 12 25000




    Brand Weight City
    Rick Oroblam 150kg Athens
    Rick Lomlup 0.15kg Vienna
    Rick Tohs Gib 100kg LA
    Last edited by hk1981; 12-31-2015 at 06:38 AM.

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Macro for moving multiple rows/columns with different criteria to different sheets

    Submit an example workbook with before and after expectations
    If you are happy with my response please click the * in the lower left of my post.

  3. #3
    Registered User
    Join Date
    12-31-2015
    Location
    Red Room, Black Lodge
    MS-Off Ver
    2010
    Posts
    4

    Re: Macro for moving multiple rows/columns with different criteria to different sheets

    Thanks for the reply...I am going to attach a before sheet and an after one....just one quick note, I am having a hard time remembering what exactly the file looks like as I do not have access to it from home..So in the before file there is one example of how I think it looks in sheet 1 and another in sheet 2(in sheet two the only difference is there is an extra row between the data)...If it is the same for either or could you please just let me know?

    Edit:Also forgot to mention...if it is possible to have the tab have the same name as the person....Scott ....Kimmy .... Rick...etc...etc.
    Last edited by hk1981; 12-31-2015 at 12:27 PM.

  4. #4
    Registered User
    Join Date
    12-31-2015
    Location
    Red Room, Black Lodge
    MS-Off Ver
    2010
    Posts
    4

    Re: Macro for moving multiple rows/columns with different criteria to different sheets


  5. #5
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Macro for moving multiple rows/columns with different criteria to different sheets

    Based upon your before and after workbooks

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    12-31-2015
    Location
    Red Room, Black Lodge
    MS-Off Ver
    2010
    Posts
    4

    Re: Macro for moving multiple rows/columns with different criteria to different sheets

    thanks!!!!!!

+ 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. Replies: 1
    Last Post: 08-16-2015, 08:59 AM
  2. [SOLVED] Moving rows of data to multiple sheets based on status
    By sthiessen85 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-18-2015, 01:21 PM
  3. Moving rows and columns to new sheets conditionally
    By twrimshot in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-16-2013, 12:48 PM
  4. [SOLVED] auto Deleting contents of certain columns when moving rows between sheets with one click
    By R.Sloan in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 04-18-2013, 04:57 AM
  5. Issue moving data with multiple rows into columns
    By fguardia in forum Excel General
    Replies: 2
    Last Post: 07-30-2010, 11:53 AM
  6. Macro for copying columns, rows, creating sheets, by criteria
    By JCOENG in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-08-2010, 02:04 PM
  7. Moving multiple customers in columns to rows
    By jordan.lawrance in forum Excel General
    Replies: 1
    Last Post: 05-18-2009, 04:16 AM

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