+ Reply to Thread
Results 1 to 2 of 2

Match a cell value and copy entire row to new sheet

Hybrid View

  1. #1
    Registered User
    Join Date
    07-04-2010
    Location
    usa
    MS-Off Ver
    Excel 2007
    Posts
    2

    Match a cell value and copy entire row to new sheet

    trying to create a commission workbook. my Master sheet has the data and I am trying to match a salesperson "name" in column G...then copy the entire row to a new worksheet for that individual salesperson. the Master sheet will vary in size with several hundred rows depending on the month. and salesperson name may appear in Column G more than once.

    we also split commissions between salespeople so I have column I with the salespersons "name" if there is a split...otherwise it's Blank. Would like to match column I and include on same worksheet for that salesperson (so column G and I together).

    File attached
    Tab1 - table for vlookup info
    Tab2 - Master sheet, this will be constantly added to or removing people
    Tab3 - Sales report - This is what I would like to have automatically done for each sales person in column G and I
    Tab4 - Recruiting report - automated same as sales.

    I'm new to macro's and VBA and loosing hair quickly trying to figure this out Any help would be appreciated. Thanks.
    Attached Files Attached Files
    Last edited by smfar777; 07-06-2010 at 06:25 PM. Reason: included attachment and more description

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,523

    Re: Match a cell value and copy entire row to new sheet

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!

+ 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