+ Reply to Thread
Results 1 to 5 of 5

Using VLookup, to find the similar element in another sheet and update in first sheet

  1. #1
    Registered User
    Join Date
    04-19-2020
    Location
    INDIA
    MS-Off Ver
    Office 365
    Posts
    2

    Using VLookup, to find the similar element in another sheet and update in first sheet

    HI Guys,

    I have one excel with two sheet. In Sheet1, I have the information like Prod ID, Master UNit, Sub Unit, Time Logged, Work logged, Time difference and SUPERVISOR NAME(which I need to find out from sheet 2). Sheet 2 consists of Prod ID, Supervisor name, Manager Name and Unit Hed.

    Requirement:
    Need to find the SUPERVISOR NAME in sheet1, which is mapped in Sheet 2 with same Prod ID. The result supervisor name need to be updated in Sheet 1 "SUPERVISOR TAB" by using VLookup.
    Please share the VLookup formula.
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,951

    Re: Using VLookup, to find the similar element in another sheet and update in first sheet

    Try this:

    =INDEX(Sheet2!$B$2:$B$8,MATCH(A2,Sheet2!$A$2:$A$8,0))
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: Using VLookup, to find the similar element in another sheet and update in first sheet

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    04-19-2020
    Location
    INDIA
    MS-Off Ver
    Office 365
    Posts
    2
    Quote Originally Posted by AliGW View Post
    Try this:

    =INDEX(Sheet2!$B$2:$B$8,MATCH(A2,Sheet2!$A$2:$A$8,0))
    *******************
    Thanks for posting the formula.
    Actually, My requirement is:
    - Need to fetch the "SUPERVISOR NAME" record in Sheet 1(marked as colour code in last col. of sheet1), by looking Sheet 2 table, and mapping the primary key of Prod ID in sheet 1 and same Prod ID of Sheet 2, preferably using VLookup,
    - Final result would be, I can get all Supervisor names, in sheet 1, which are mapped the Prod. Id of Sheet 2.

    The above reply didn't give me any result.

    Thanks
    Somu

  5. #5
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,831

    Re: Using VLookup, to find the similar element in another sheet and update in first sheet

    Maybe you did something wrong because the formula Ali gave seems correct to me. So is the VLOOKUP example given. Thirdly, since you are on O365, you have the new formula you can use which is XLOOKUP. This would go in cell G2 of Sheet1
    =XLOOKUP(A2,Sheet2!$A$2:$A$8,Sheet2!$B$2:$B$8,"Not found",0)
    In fact, you could use the Array by bringing back all the answers with:
    =XLOOKUP(A2:A27,Sheet2!$A$2:$A$8,Sheet2!$B$2:$B$8,"Not found",0)

+ 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. Replies: 3
    Last Post: 04-16-2020, 07:43 PM
  2. Auto update info in Sheet 1 based on a find/lookup in Sheet 2.
    By compustrat in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-15-2019, 10:05 AM
  3. Replies: 1
    Last Post: 08-23-2015, 08:18 PM
  4. VBA to compare a date from one sheet to dates on second sheet of multiple similar people
    By Panglossian in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-11-2015, 01:14 PM
  5. Replies: 17
    Last Post: 08-18-2013, 03:29 AM
  6. Replies: 4
    Last Post: 03-01-2012, 01:05 PM
  7. how to update a similar sheet in a different workbook without opening that workbook
    By hattisaeed in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-17-2011, 02:05 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