+ Reply to Thread
Results 1 to 2 of 2

Copy row to another sheet based on a condition

  1. #1
    Registered User
    Join Date
    12-02-2012
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2010
    Posts
    1

    Copy row to another sheet based on a condition

    I apologize, as I am new to VBA.

    I have a workbook with 11 sheets. Three of these sheets are named after 3 doctors in the office. "smith, jones, brown"

    The other 8 sheets are different employees.

    When the employees enter information on their respective sheets, they enter the doctors last name in column G.

    If an employee types "smith, jones, or brown" into column G, I would like for that row to automatically copy into the doctors respective sheet. For example, if an employee types "smith" into column G, then that entire row copies in to the "smith" sheet.

    I do not want this row to be deleted from the empolyees sheet. I just want it copied to the doctors sheet on the next available row.

    Is this possible?

    I apologize or my ignorance, and sincerely appreciate any assistance.

    Thank you

  2. #2
    Forum Contributor
    Join Date
    08-30-2012
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    141

    Re: Copy row to another sheet based on a condition

    easy option, you create a dummy worksheet to put everything from the employees worksheets. Then, in each doctor's worksheet, you make a vlookup to the dummy worksheet.

+ 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