+ Reply to Thread
Results 1 to 9 of 9

Distribute employee list to their respective department from Master work sheet

  1. #1
    Registered User
    Join Date
    02-25-2012
    Location
    New York, USA
    MS-Off Ver
    Excel 2003
    Posts
    6

    Distribute employee list to their respective department from Master work sheet

    I want excel to auto post to the employee department/position from the master work sheet. thanks in advance. please see attached[B][B][B]
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Help: Distribute employee list to their respective department from Master work sh

    Hi,
    your sheet does not contain any data.
    What do you want to achieve? Could you give an example on the sheet? What have you already tried?

  3. #3
    Registered User
    Join Date
    02-25-2012
    Location
    Melbourne
    MS-Off Ver
    Excel 2007
    Posts
    19

    Re: Help: Distribute employee list to their respective department from Master work sh

    I'm assuming he wants the position field (in column) G to be the variable from sheet to sheet

    So the sheet Position1 would grab any of the rows from the master sheet for a particular position, Position2 would grab the rows for a different value for the same field etc

    Sadly I cannot provide an answer as I do not know enough yet

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

    Re: Help: Distribute employee list to their respective department from Master work sh

    Try this out,
    Please Login or Register  to view this content.
    Macros must be enabled when opening the workbook.

    In the example provided, use the key combinations.

    Ctrl & Shift & c
    This will copy Row 4 and paste it to the first empty row in "Candidates" sheet
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    02-25-2012
    Location
    New York, USA
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Help: Distribute employee list to their respective department from Master work sh

    Thank you all. Dave, What i am trying to do is in the candidates sheet I have information on all new hires over 100 of them , they will be assigned to different positions with the company.So what I am trying to do is as I enter the information of the candidates when the position field is entered I want excel to distribute it to the appropriate position sheet. It looks like an "if" formula should work if cell n1 is position 1 then post a1:n1 to sheet 2(position 1) but I am not well versed on excel to accomplish it. thanks again for the help in advance.

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

    Re: Help: Distribute employee list to their respective department from Master work sh

    Oh, so what I gave you was reversed?
    What is to determin the positions?

  7. #7
    Registered User
    Join Date
    02-25-2012
    Location
    New York, USA
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Distribute employee list to their respective department from Master work sheet

    Dave, The determining factor is in the main candidates work sheet column "N" ( Position) will determine which position the individual candidate is assigned to and automatically posted to appropriate position.....position1...position2...etc. Thank you

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

    Re: Distribute employee list to their respective department from Master work sheet

    Try this,
    I moved the position cells to the end of the table so the code is not activated to soon. Once you select a position in column P using the dropdown menu that row will be transferred to the correct Sheet.
    Right click on Candidates sheet tab to view the code.

    The code is in the worksheet module and is activated when you make a change in column P

    The Code looks like this
    Please Login or Register  to view this content.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    02-22-2012
    Location
    Chennai, India
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Distribute employee list to their respective department from Master work sheet

    HI Dave,
    I was looking for the solution to the problem posted; i have a similar request.
    Wherein, i have list of employees who work in different departments; if i run a similar prog will that help moving the corresponding rows to next sheets as you have done it for the positions? if so, how do i alter the code you have written on top?
    I have share teh attachment which has the same list of employees adn their dept's.

    the request is to create separate sheets for each DU and move the employees to respective sheets.

    thanks
    Kavitha
    Attached Files Attached Files
    Last edited by kavithaumasankar; 02-28-2012 at 02:27 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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