+ Reply to Thread
Results 1 to 6 of 6

Excel 2007 : Import data from a worksheet into another and group data into sections

  1. #1
    Registered User
    Join Date
    03-02-2012
    Location
    Mayo, Ireland
    MS-Off Ver
    Excel 2007
    Posts
    3

    Import data from a worksheet into another and group data into sections

    I want to be able to run a macro that will export some of the data from a worksheet called Generated Report into another worksheet called Matrix
    The data will be taken Generated REport and grouped into sections of the worksheet. These sections will be defined by the BRID value
    The Data that i want to export will be from the first 5 columns within the Generated REport(note there are other columns which data is not required from).
    The following columns will be exported from Generated Report -
    BRID,Requirement, Bug Description, Bug ID and Alt Bug ID.

    BRID Requirement Bug Description BUG ID Alt Bug ID
    PQ115 PQ115-Login Bug Description text xihllloloj 43712 123
    PQ116 PQ116-Landing Bug Description text ghghghgoot 43713 126


    For Matrix
    The data will be imported into Matrix worksheet into the following columns as part of the row headings
    - Requirement, Description, Bug ID and VF Bug ID.There will also be other columns (outlined below) which i will use to manually enter data
    The data will be grouped and imported into the relevant section by its BRID eg PQ115, PQ116 etc.
    I want each section (marked by BRID number)to be separated by row headings.



    These row headings are to be generated after populating all data within each BRID number.
    When the data has been populated in each row there is a column called 'Status' which contains drop down list boxes which can be assigned.
    The default status will be set to 'To Do'. The complete row headings are displayed with Output from Generated Report underneath


    BRID Priority Requirment Description BugID Alt Bug ID PC Update Notes Actual Result Type of DEfect Test Status Tested by
    PQ115 PQ115-Login Bug Description text xihllloloj 43712 123 To Do

    BRID Priority Requirment Description BugID Alt Bug ID QC Update Notes Actual Result Type of DEfect Test Status Tested by
    PQ116 PQ116-Landing Bug Description text ghghghgoot 43713 126 To Do


    So far the macro that i have been using allows me to locate the data for each specific BRID in Generated Report and copy into the corrresponding BRID section
    within the Matrix. I have to repeate this step for each new BRID and i want to be able to wholle automate this process
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by scottmj40; 03-05-2012 at 09:03 AM. Reason: adding code tags

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Import data from a worksheet into another and group data into sections

    Welcome to the forum.

    As per forum rules, you should put code within code tags.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    03-02-2012
    Location
    Mayo, Ireland
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Import data from a worksheet into another and group data into sections

    Hi hope this is more readable.

  4. #4
    Registered User
    Join Date
    03-02-2012
    Location
    Mayo, Ireland
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Excel 2007 : Import data from a worksheet into another and group data into sections

    Please Login or Register  to view this content.
    Last edited by scottmj40; 01-16-2013 at 12:30 PM. Reason: Added code Brackets

  5. #5
    Registered User
    Join Date
    03-02-2012
    Location
    Mayo, Ireland
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Excel 2007 : Import data from a worksheet into another and group data into sections

    Can anyone help me out here thanks

  6. #6
    Registered User
    Join Date
    03-02-2012
    Location
    Mayo, Ireland
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Excel 2007 : Import data from a worksheet into another and group data into sections

    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