+ Reply to Thread
Results 1 to 6 of 6

Lookup Values from seperate sheets

  1. #1
    Registered User
    Join Date
    06-03-2014
    Posts
    5

    Lookup Values from seperate sheets

    I am in the process of creating a Phone Roster for my unit. On Sheet1 is their administrative data (Name, Position, Phone Number, etc.). What I am attempting to do is use a formula to find the persons name for that position and place it in the appropriate position and then their phone number below.

    Admin!H:H contains the positions
    Admin!B:B contains their name
    Admin!N:N contains their phone number

    I believe the following is what I need =LOOKUP("Operations NCO",Admin!$H:$H,Admin!$B:$B) and it works, but only for the first person on Sheet 2. After that it is random. If there a different formula I need to use to make this work?

    When I get the phone number I used =LOOKUP("Operations NCO",Admin!$H:$H,Admin!$N:$N) and the same thing happens. It works for the first person and everything else is incorrect.

    A problem is the Admin sheet is listed alphabetically, not by position, so I cant use a specific cell to copy the data. I need the formula to find the position, then find the name and phone number of the person in said position.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Lookup Values from seperate sheets

    I think you have to use Vlookup for your problem.

    Otherwise post your excel file without confidential information.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    06-03-2014
    Posts
    5

    Re: Lookup Values from seperate sheets

    Attached is an example document with the information.

    In this example, sensitive information has been scrubbed but the problem remains.

    In the Phone Roster sheet, B15=LOOKUP("Operations NCO",Admin!$E:$E,Admin!$B:$B)which is correct. However the problem I am running into as you can see, is that that formula is not working in many of the example cells. I am unsure why that is. I am not familiar with how to write VLOOKUP to do what I need it to do if that is the proper formula.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Lookup Values from seperate sheets

    See the green and yellow cell in the attached file.

  5. #5
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,620

    Re: Lookup Values from seperate sheets

    Please Login or Register  to view this content.
    Where
    PersonnelData refers to: =Admin!$A$5:$F$12
    and
    DutyPosition refers to: =Admin!$E$5:$E$12
    Attached Files Attached Files
    Ben Van Johnson

  6. #6
    Registered User
    Join Date
    06-03-2014
    Posts
    5

    Re: Lookup Values from seperate sheets

    Thank you all so much for your help. Now there is only one more thing. My boss wants just Last names listed.

    =CONCATENATE(INDEX(Data,MATCH($L$3,Position,0),3)," ",INDEX(Data,MATCH($L$3,Position,0),1))

    Returns rank and full name (CPT DOE JOHN A). How can I change INDEX(Data,MATCH($L$3,Position,0),1)) to return only with the first word in the cell?

+ 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. Lookup values given certain criteria using VBA and paste into a formatted seperate sheet
    By engineeringirl89 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-10-2013, 06:47 PM
  2. Seperate Values in single cell seperated by [alt+enter] into seperate cells
    By Coquito in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-22-2012, 04:24 PM
  3. Replies: 0
    Last Post: 07-18-2012, 05:32 AM
  4. [SOLVED] Seperate Comma seperated values in seperate rows in different tab of same worksheet
    By amlan009 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-28-2012, 04:54 AM
  5. lookup values in two different sheets
    By associates in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-11-2008, 02:16 AM

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