Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8384229
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T17:21:18+00:00 2026-06-09T17:21:18+00:00

I have two sheets in my excel file. The first one looks like this:

  • 0

I have two sheets in my excel file. The first one looks like this:

**Name** **Code**
Bob      ??
Thomas   ??
Rob      ??

The second one looks like this:

**Name**  **Code**
Thomas    tom
James     jam
Bob       bob

What I want to do is for each name is sheet 1, search in sheet 2 for the correct code and add the code in column two of sheet 1. How would I proceed?

Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T17:21:19+00:00Added an answer on June 9, 2026 at 5:21 pm

    Assuming those start at A1 in both sheets, put this formula in B2 on sheet 1:

    =VLOOKUP(A2, Sheet2!$A$2:$B$4,2,FALSE)
    

    This takes the value from A2, goes to the range referenced by A2:B4 on the other sheet (the dollar signs make sure the range doesn’t change when you drag/copy the formula), finds the corresponding value and then pulls the value from the column next to it.

    Make sure that Sheet2 actually matches your sheet name. One way to make sure this happens is to start typing the formula and then manually select the range from the table. Once you have selected it, press F4 to quickly change it to an absolute range (which is what the dollar signs mean).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have two sheets having data like this sheet1 : **A** **B** **C** 752
I have an Excel file Country.xls. This Excel file contains two sheet/records Country and
I have a excel workbook with two sheets. One sheet is maxed out and
I have an Excel sheet with two column, one is a number , and
I have two columns in excel like the following a,apple a,bannana a,orange a,plum b,apple
currently, I am struggeling with the following: I have two Excel files. One files
i have two excel sheets An example of the two sheets are below sheet1
I have a workbook with two sheets. I would like to format the cell
I have two rows in two different sheets in Excel. Each row has 20
I have read two excel sheets in two temp tables, #temp and #temp1 Replacing

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.