+ Reply to Thread
Results 1 to 8 of 8

over consolidated data - need dissection and structure help!

  1. #1
    Registered User
    Join Date
    03-25-2014
    Location
    Dallas, Texas
    MS-Off Ver
    Excel 2011, Excel 2010
    Posts
    18

    Question over consolidated data - need dissection and structure help!

    I am trying to clean up a report that has a couple of flaws - unfortunately I don't have the luxury of adjusting my data source. I pull this report on a bi-weekly basis, and need to develop a macro that can be run on a report with a growing row count.

    My data has 9 columns, but only 6 of them will always have content. 1 of the 3 "Optional" columns is for a team name - which can contain 0-7 comma separated team names (this is a problem).

    Can someone help to create new unique row for each individual team that is listed in that combined cell so it can be analyzed. The rest of the row can be duplicated.

    Sample Sheet.xlsx

    Green = required field & will always have content
    Red = not required

    I use both Mac & PC, and have nearly zero VBA experience, but won't turn down the chance to learn something useful.

    I've attached a sample sheet of what the content looks like right now, and a sheet of how I would like it to look - thanks in advance!
    Last edited by shootstill; 03-25-2014 at 04:36 PM.

  2. #2
    Valued Forum Contributor adyteo's Avatar
    Join Date
    01-10-2013
    Location
    Calgary
    MS-Off Ver
    Excel 2010
    Posts
    540

    Re: over consolidated data - need dissection and structure help!

    try this: (Alt-F8 and then run SplitTeams)
    Sample Sheet.xlsm
    Click on the star if you think I helped you

  3. #3
    Registered User
    Join Date
    03-25-2014
    Location
    Dallas, Texas
    MS-Off Ver
    Excel 2011, Excel 2010
    Posts
    18

    Re: over consolidated data - need dissection and structure help!

    adyteo -
    This is exactly the results I was hoping for!

    One additional question -
    How do I add another macro to this one, or string another one to it?

    The "Last Updated Date" (column I) is not in a readable date format, and I am trying to combine a macro within the code you provided, but am not succeeding.

    My macro is set up to TRUNC column I, into J, add the same header text "Last Updated Date" to J1, apply Date (mm/dd/yyyy) formatting, copy entire J, Paste values and number format to I.

    Code:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Thanks again!

  4. #4
    Valued Forum Contributor adyteo's Avatar
    Join Date
    01-10-2013
    Location
    Calgary
    MS-Off Ver
    Excel 2010
    Posts
    540

    Re: over consolidated data - need dissection and structure help!

    try this:
    Sample Sheet.xlsm

  5. #5
    Registered User
    Join Date
    03-25-2014
    Location
    Dallas, Texas
    MS-Off Ver
    Excel 2011, Excel 2010
    Posts
    18

    Re: over consolidated data - need dissection and structure help!

    Dang. You're good. This works like a charm!

    question:
    When the macro finishes, it leaves off at the last row affected with the row selected and copied to the clipboard - can I adjust the code to deselect/clear clipboard, and just return to top of sheet?


    I wish I could understand what all is going on here (if you want to breakdown an explanation, I won't stop you - but don't feel obligated).

  6. #6
    Valued Forum Contributor adyteo's Avatar
    Join Date
    01-10-2013
    Location
    Calgary
    MS-Off Ver
    Excel 2010
    Posts
    540

    Re: over consolidated data - need dissection and structure help!

    add just before End Sub: Range("A1").Select

    tomorrow I will try to provide you with a quick and dirty explanation

  7. #7
    Valued Forum Contributor adyteo's Avatar
    Join Date
    01-10-2013
    Location
    Calgary
    MS-Off Ver
    Excel 2010
    Posts
    540

    Re: over consolidated data - need dissection and structure help!

    this is the code with the explanation. I hope it makes sense and clarifies some of your questions
    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    03-25-2014
    Location
    Dallas, Texas
    MS-Off Ver
    Excel 2011, Excel 2010
    Posts
    18

    Re: over consolidated data - need dissection and structure help!

    Thanks again for educating me - this has helped me identify some next steps for this project (time to make a new thread!)

+ 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. Creating a Pyramid Hierarchy structure from a flat structure
    By thegamerulez in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-16-2014, 01:28 AM
  2. [SOLVED] Copy Data from one sheet and paste the consolidated data into another (Data Range Varies)
    By kittu55 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-13-2013, 10:02 PM
  3. Data to be consolidated
    By vinayjan in forum Excel General
    Replies: 7
    Last Post: 08-10-2013, 11:08 AM
  4. [SOLVED] Date in Consolidated sheet does not match date in sheets being consolidated
    By Lowtech in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-15-2012, 07:23 PM
  5. "convert" data with logfile structure to spreadsheet structure
    By boarders paradise in forum Excel General
    Replies: 7
    Last Post: 01-10-2011, 02:06 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