+ Reply to Thread
Results 1 to 3 of 3

Taking non uniform data from one sheet and copying and organizing it into another sheet

  1. #1
    Registered User
    Join Date
    03-08-2012
    Location
    ATX
    MS-Off Ver
    Excel 2007
    Posts
    1

    Taking non uniform data from one sheet and copying and organizing it into another sheet

    Hi!

    VBA noob here.

    I have some php and c++ background but I have never really dealt with data sets that i had to traverse, so any code i write here would be super clunky

    what i need to do is take the information in sheet 1 and copy it to sheet 2 in a useable layout

    in the example i give you 2 cases, one where there is one charge and one where there are 2 charges (see ex sheet 1)
    i need to take whats in sheet 1 and put it in a layout similar to sheet 2

    this would be simple if the size of each (record) were identical, but they aren't they are variable with some data having 3 charges, 4 or 5.

    please take a look at my example sheets and see if you can offer any advice, pseudocode or code that will help

    i really appreciate your time on this and hope that i can return the favor in the future
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    07-03-2008
    Location
    Hyderabad, India
    MS-Off Ver
    2003 and 2007
    Posts
    58

    Re: Taking non uniform data from one sheet and copying and organizing it into another shee

    Hi

    I have added some code for your requirement. Currently i have run this code by clicking ctrl+r

    I hope this will help for you.
    Attached Files Attached Files
    Salim

  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,615

    Re: Taking non uniform data from one sheet and copying and organizing it into another shee

    Pl see the attached file with required macro.
    Clarifications welcome.
    Attached Files Attached Files

+ 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