+ Reply to Thread
Results 1 to 16 of 16

Extract Data from Sheet1 and rearrange in Sheet2

  1. #1
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Extract Data from Sheet1 and rearrange in Sheet2

    hi all

    I have a workbook and i want to rearrange data (a huge list) from sheet1 into sheet2, i tried but i can not do it. could anyone to help me, please?
    any help is appreciated!
    thank you in advance

    john
    Attached Files Attached Files
    Last edited by john55; 01-06-2011 at 01:04 PM.

  2. #2
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Extract Data from Sheet1 and rearrange in Sheet2

    hi, why not to use pivot table?

  3. #3
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Extract Data from Sheet1 and rearrange in Sheet2

    hi,
    watersev, thx, but i do not know how to! could you help me, please?

  4. #4
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Extract Data from Sheet1 and rearrange in Sheet2

    sort of this
    Attached Files Attached Files

  5. #5
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Extract Data from Sheet1 and rearrange in Sheet2

    thank you for solution!
    i tried, i do not manage, all i did it's a really...i can not say it!
    is there another way to extract it and have the desired output?
    thanks for assistance
    john
    Last edited by john55; 01-05-2011 at 09:30 AM.

  6. #6
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Extract Data from Sheet1 and rearrange in Sheet2

    see attachment, run macro "test"
    Attached Files Attached Files

  7. #7
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Extract Data from Sheet1 and rearrange in Sheet2

    I', sorry for my late reply!
    Thank you for your help, I try to adapt the code but i rcv an error, I check n check n check...

    john

  8. #8
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Extract Data from Sheet1 and rearrange in Sheet2

    I assume the data in real file differs from the one in example, am I right? What do you mean by "adapt the code"?
    The code works fine on example file.
    Last edited by watersev; 01-05-2011 at 02:43 PM.

  9. #9
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Extract Data from Sheet1 and rearrange in Sheet2

    yes, it does a little bit! is my mistake i did not copy very well the data into test file.

  10. #10
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Extract Data from Sheet1 and rearrange in Sheet2

    post new example, i'll have a look

  11. #11
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Extract Data from Sheet1 and rearrange in Sheet2

    hi,
    here it is! thanks for help!
    Attached Files Attached Files

  12. #12
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Extract Data from Sheet1 and rearrange in Sheet2

    see attachment, run macro "test"
    Attached Files Attached Files

  13. #13
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Extract Data from Sheet1 and rearrange in Sheet2

    hi,
    thank you very much for your help, it works fine!
    I have a small issue, the data is sent to a user form, but if there are 2 or 3 people with the same last name, in the user form
    is displayed only one.
    is there a way to distinguish between them by midle name or first name and to have the possibility to choose (from combobox) if the first one is not what i'm looking for?
    i attached a file.
    any help is really appreciated!

    john
    Attached Files Attached Files
    Last edited by john55; 01-06-2011 at 10:57 AM.

  14. #14
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Extract Data from Sheet1 and rearrange in Sheet2

    I reduced the unnecessary complexity of the userform.
    Attached Files Attached Files



  15. #15
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Extract Data from Sheet1 and rearrange in Sheet2

    hi snb,
    it works very well, like a charm!
    thank you for your time and help!
    john

  16. #16
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Extract Data from Sheet1 and rearrange in Sheet2

    There's one more thing:

    to arrange data fom sheet 1 to sheet 2:
    first delete column E in sheet1

    Please Login or Register  to view this content.

+ 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