+ Reply to Thread
Results 1 to 3 of 3

I need to have a cell search another worksheet and copy adjacent cells if there is a match

  1. #1
    Registered User
    Join Date
    07-01-2013
    Location
    North Carolina
    MS-Off Ver
    Excel 2010
    Posts
    2

    I need to have a cell search another worksheet and copy adjacent cells if there is a match

    I have a 2 worksheet excel workbook. The first page is an employee scheduler. Column 1 is the employee's name, column 2 is the client's name, column 3 is the service completed, column 4 is the appointment start time, column 5 is the appointment end time. The second worksheet is very similar, but column 1 is the client's name, column 2 is the employee's name, column 3 is the service, column 4 is the start time, column 5 is the end time. I am entering all of the schedule info into the 1st worksheet. What I need to figure out is how to get the second sheet to automatically search for each instance of a client's name for that day and fill in the employee that provided the service, the service, and the start and end times. How can I accomplish this?

    A short example is attached. In the full workbook, I have about 40 employees and over 60 clients.

    HELP!Example.xlsx

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: I need to have a cell search another worksheet and copy adjacent cells if there is a m

    Your sample workbook needs sample data on sheet1 and sample results on sheet2 so we can see what you have in mind.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    07-01-2013
    Location
    North Carolina
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: I need to have a cell search another worksheet and copy adjacent cells if there is a m

    I need it to copy the information from the 1st sheet exactly, just in a different order. I have attached what I want it to look like. Example2.xlsx
    Attached Files Attached Files

+ 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