Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
Solved

# Lookup From one tab to another

Posted on 2014-03-26
Medium Priority
96 Views
On a worksheet (sheet 1) how do I make column C = column A of sheet2 when sheet1 column B = sheet2 column B
0
Question by:Matt Pinkston
[X]
###### Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points
• 2
• 2

LVL 39

Expert Comment

ID: 39957671
in sheet1!B2, use

=index(Sheet2!\$A\$1:\$A\$1000,match(\$B2,Sheet2!\$B\$1:\$B\$1000,0))

You're returning the value of Sheet2!\$A\$1:\$A\$1000 found at the position where Sheet2!\$B\$1:\$B\$1000 matches Sheet1!B2.

Thomas
0

LVL 8

Expert Comment

ID: 39957677
or by individual cell copied down the column as required;

=IF(B1=Sheet2!B1,Sheet2!A1,"")
0

Author Comment

ID: 39957703
How do you get the NA to go away?
0

LVL 39

Accepted Solution

nutsch earned 2000 total points
ID: 39957723
You can use iferror

=iferror(index(Sheet2!\$A\$1:\$A\$1000,match(\$B2,Sheet2!\$B\$1:\$B\$1000,0)),"")

Thomas
0

Author Closing Comment

ID: 39995456
Thanks
0

## Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
###### Suggested Courses
Course of the Month9 days, 1 hour left to enroll