+ Reply to Thread
Results 1 to 19 of 19

Arrange System Generated Data In To User Defined Format

  1. #1
    Forum Contributor
    Join Date
    04-08-2020
    Location
    MUMBAI
    MS-Off Ver
    OFFICE 2007
    Posts
    234

    Arrange System Generated Data In To User Defined Format

    I am attaching excel workbook with this thread. After opening this workbook you will see “Sheet1” and “Sheet2”. Sheet1 contains system generated data which can be in thousands of entries. And Sheet2 is the user defined format which I need after running VBA code.

    In this attached workbooks Sheet1 contains more data but in Sheet2 for giving you an idea what I want I have manually illustrated and arranged data so it is of first few transactions data.

    This system generated data can be huge so please give the VBA which can tackle this data and give me error free output.
    Last edited by KRIXXXX; 10-05-2020 at 10:22 PM.

  2. #2
    Forum Contributor
    Join Date
    04-08-2020
    Location
    MUMBAI
    MS-Off Ver
    OFFICE 2007
    Posts
    234

    Re: Arrange System Generated Data In To User Defined Format

    I need VBA code for this in emergency, Please help...
    Last edited by KRIXXXX; 09-27-2020 at 11:15 PM.

  3. #3
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,516

    Re: Arrange System Generated Data In To User Defined Format

    Verify the result and post back the line(s) that is not what you expected.
    Please Login or Register  to view this content.
    Last edited by jindon; 09-26-2020 at 05:02 AM.

  4. #4
    Forum Contributor
    Join Date
    04-08-2020
    Location
    MUMBAI
    MS-Off Ver
    OFFICE 2007
    Posts
    234

    Thumbs up Re: Arrange System Generated Data In To User Defined Format

    @jindon

    First of all Thanks a Lot Brother

    Your code is working very well. But there is need some improvement in codes and I am sure you will defiantly can do this.

    1. In sheet1 if you filter the data which are begins with “Item:” and than if you copy this filtered data in new sheet and remove the duplicate rows you will find that there are 94 different items in sheet1 but in sheet2 it generated output of only 34 items.

    2. In attached sheet when I run the code it gives me one extra column heading contains “Sabar DI:” which is because in original system generated sheet if you will see “Lot Number:” you will find that in some transaction there is two lot numbers. In this attached workbook if you will filter text begins with” Lot Number:” you can see some other items which contains more than one Lot Numbers. So do some modification in code that whenever this type of situation arised in output all the lot should be reflected against concern items in single cell.

    3. Same issue is with “ Serial Num:” , when I run the code “Serial Num:” column contains no data but when you filter the data of sheet1 that begins with “ Serial Num:” you will found that some items contains Serial Numbers and this can be varied. in many case there is no serial numbers. In some cases there are one or two serial numbers and in some others cases there are many serial numbers. For example if you see the cell A26998 there are four serial numbers, in cell A27008 also has four serial numbers and in cell A27042 there are thirty serial numbers. So whenever this type of situation arised in output under “Serial Num:” column all serial numbers should be reflected against concern items in single cell.
    Last edited by KRIXXXX; 09-27-2020 at 11:09 PM.

  5. #5
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,516

    Re: Arrange System Generated Data In To User Defined Format

    Delete...............
    Last edited by jindon; 09-27-2020 at 05:31 AM.

  6. #6
    Forum Contributor
    Join Date
    04-08-2020
    Location
    MUMBAI
    MS-Off Ver
    OFFICE 2007
    Posts
    234

    Smile Re: Arrange System Generated Data In To User Defined Format

    I am uploading comparably small data file than previous one. In Sheet1 there is system generated data and In sheet2 I have run above VBA code and than done some changes manually which i need if you can help me with this.

    Thanks...
    Last edited by KRIXXXX; 10-10-2020 at 11:43 PM.

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,398

    Re: Arrange System Generated Data In To User Defined Format

    Quote Originally Posted by KRIXXXX View Post
    I need VBA code for this in emergency, Please help...
    FYI This is a free forum offering free help - we do not prioritise anyone's posts, so don't mention words like 'urgent' and 'emergency' in your posts or titles, please. Thanks.

    You have been asked to provide more information in a workbook: once you have done so, I am sure more help will be forthcoming, although maybe not today (it is a weekend, so the forum is quieter).
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  8. #8
    Forum Contributor
    Join Date
    04-08-2020
    Location
    MUMBAI
    MS-Off Ver
    OFFICE 2007
    Posts
    234

    Re: Arrange System Generated Data In To User Defined Format

    I know it's kind of tricky thing to do but you guys are capable of doing this very easily, After all you are Excel Gurus...
    Last edited by KRIXXXX; 09-27-2020 at 11:17 PM.

  9. #9
    Forum Contributor
    Join Date
    04-08-2020
    Location
    MUMBAI
    MS-Off Ver
    OFFICE 2007
    Posts
    234

    Re: Arrange System Generated Data In To User Defined Format

    Original data files with whom I have to deal with are contains average 100000 rows and some even contains 500000 plus rows. So you can imagine how helpful this VBA code will be to me if you provide it.
    Last edited by KRIXXXX; 09-28-2020 at 05:22 AM.

  10. #10
    Forum Contributor
    Join Date
    04-08-2020
    Location
    MUMBAI
    MS-Off Ver
    OFFICE 2007
    Posts
    234

    Re: Arrange System Generated Data In To User Defined Format

    Kindly spare some time for me and provide the VBA code. For you guys it's not that tough task.

  11. #11
    Forum Contributor
    Join Date
    04-08-2020
    Location
    MUMBAI
    MS-Off Ver
    OFFICE 2007
    Posts
    234

    Re: Arrange System Generated Data In To User Defined Format

    Please do me a favor...
    Last edited by KRIXXXX; 09-30-2020 at 10:19 PM.

  12. #12
    Forum Contributor
    Join Date
    04-08-2020
    Location
    MUMBAI
    MS-Off Ver
    OFFICE 2007
    Posts
    234

    Re: Arrange System Generated Data In To User Defined Format

    Please provide the VBA code

  13. #13
    Forum Contributor
    Join Date
    04-08-2020
    Location
    MUMBAI
    MS-Off Ver
    OFFICE 2007
    Posts
    234

    Re: Arrange System Generated Data In To User Defined Format

    @ jindon

    I have already uploaded workbook in post #6 which contains small amount of data as compared to post #1

    Please look in to it and do me a favor

  14. #14
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,398

    Re: Arrange System Generated Data In To User Defined Format

    Quote Originally Posted by KRIXXXX View Post
    Kindly spare some time for me and provide the VBA code. For you guys it's not that tough task.
    As you don't know how to do it, how would you know how easy it might be for someone who does?

    I suspect that the lack of responses means that nobody feels able to help you. Sorry.

  15. #15
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,516

    Re: Arrange System Generated Data In To User Defined Format

    Re: your visitor message

    I've completely lost the spirit of volunteering after your original post #6, so do not expect me to help you.

  16. #16
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,398

    Re: Arrange System Generated Data In To User Defined Format

    Administrative Note:

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. No help to be offered until the link is provided.)

  17. #17
    Forum Contributor
    Join Date
    04-08-2020
    Location
    MUMBAI
    MS-Off Ver
    OFFICE 2007
    Posts
    234

    Re: Arrange System Generated Data In To User Defined Format

    I have started new thread for this on https://www.mrexcel.com/board/thread...ormat.1147461/

    If I will get expected outcome of this thread there then I will mark this thread as SOLVED

  18. #18
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,855

    Re: Arrange System Generated Data In To User Defined Format

    Did you forget this one also?

    https://chandoo.org/forum/threads/ne...-format.45119/

    You need to supply all--not just one. Are there any others?
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  19. #19
    Forum Contributor
    Join Date
    04-08-2020
    Location
    MUMBAI
    MS-Off Ver
    OFFICE 2007
    Posts
    234

    Re: Arrange System Generated Data In To User Defined Format

    Sorry my mistake, if I get answer there then I will mark all other thread as SOLVED And I will post the solution of the this thread If found on other thread
    Last edited by KRIXXXX; 10-05-2020 at 04:39 AM.

+ 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. [SOLVED] Need help to arrange system generated data in to User defined format 1
    By KRIXXXX in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 09-18-2020, 11:41 AM
  2. [SOLVED] Need help to arrange system generated data in to User defined format 2
    By KRIXXXX in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-26-2020, 12:06 AM
  3. [SOLVED] Need help to arrange system generated data in to User defined format 3
    By KRIXXXX in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-26-2020, 12:06 AM
  4. [SOLVED] Need help to arrange system generated data in to User defined format 4
    By KRIXXXX in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-26-2020, 12:05 AM
  5. [SOLVED] Need Help to Arrange System Generated Data in Table Form
    By KRIXXXX in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-12-2020, 12:17 AM
  6. [SOLVED] Need VBA for System Generated Data to get Output in User defined format
    By KRIXXXX in forum Excel Programming / VBA / Macros
    Replies: 51
    Last Post: 04-30-2020, 05:15 AM
  7. Replies: 2
    Last Post: 04-13-2020, 09:57 PM

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