+ Reply to Thread
Results 1 to 9 of 9

Moving Rows to new Tab based on many possible Cell Values

  1. #1
    Registered User
    Join Date
    09-25-2013
    Location
    Loysville, PA
    MS-Off Ver
    Excel 2003
    Posts
    22

    Question Moving Rows to new Tab based on many possible Cell Values

    I work as a manager and I'm trying to create an Excel Sheet With a VB Macro that will Check all the Numbers in Column "N" on the "Master Sheet" Tab and will cut the Row they are in and past them to the supervisors Tab there are 127 different Numbers and 6 Supervisors that are in charger of each of them IE 11116 is Mikes Employee, and 11117 is Johns Employee, there are many questions like this but I haven't seen one that answered this for me, thanks in advanced.

    Example.JPG

  2. #2
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Moving Rows to new Tab based on many possible Cell Values

    hi mmanning, can you post a sample workbook with data and expected output sample

  3. #3
    Registered User
    Join Date
    09-25-2013
    Location
    Loysville, PA
    MS-Off Ver
    Excel 2003
    Posts
    22

    Re: Moving Rows to new Tab based on many possible Cell Values

    Sure can, I should have an example ready today sometime, thanks for your time.

  4. #4
    Registered User
    Join Date
    09-25-2013
    Location
    Loysville, PA
    MS-Off Ver
    Excel 2003
    Posts
    22

    Re: Moving Rows to new Tab based on many possible Cell Values

    Distributer.xlsm

    This is what is would look like before the Macro is Ran (for the most part)
    post macro to come.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    09-25-2013
    Location
    Loysville, PA
    MS-Off Ver
    Excel 2003
    Posts
    22

    Re: Moving Rows to new Tab based on many possible Cell Values

    This is what it would look like after, after looking at this I feel its important to mention I can make another Tab called "Reference" or something that has The Supervisors in Column A and their Employees in Column B, also there is some overlapping notice 16389 is on Robert and Kalvin's List there are two employees affiliated with that number so it needs to be on both lists, hope this helps you, help me.Distributer.xlsm

  6. #6
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Moving Rows to new Tab based on many possible Cell Values

    hi there, thanks for the sample file. Yes, it is good idea to create sort of reference sheet to check which number corresponds to a particular name. As far as I see some names have more then 2 ids. As soon as you provide a reference table for that I would help with the code

  7. #7
    Registered User
    Join Date
    09-25-2013
    Location
    Loysville, PA
    MS-Off Ver
    Excel 2003
    Posts
    22

    Re: Moving Rows to new Tab based on many possible Cell Values

    Here is what I have, I would like the ability to add Driver Numbers to this list when Hired, Thanks again.

    Distributer(2).xlsm

  8. #8
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Moving Rows to new Tab based on many possible Cell Values

    please check attachment, press Run button or run code "test" (ALT+F8, select "test", press Run button)
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    09-25-2013
    Location
    Loysville, PA
    MS-Off Ver
    Excel 2003
    Posts
    22

    Re: Moving Rows to new Tab based on many possible Cell Values

    That worked perfectly thank you so much!

+ 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. Moving rows to another sheet in the same workbook based on a cell value.
    By OpOrange in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-19-2014, 04:37 PM
  2. Auto-Converting Cell Value to link & moving rows of data based on cell value
    By Th3Forgotten in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-15-2013, 08:05 AM
  3. Moving rows based on cell contents
    By WasWodge in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-31-2010, 11:27 AM
  4. Moving rows to another worksheet based on content of cell
    By 5tin@ in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-21-2005, 10:25 AM
  5. Replies: 0
    Last Post: 11-11-2005, 02:35 PM

Tags for this Thread

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