Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
Solved

# lookup equation in excel

Posted on 2011-02-25
Medium Priority
225 Views
Last Modified: 2012-05-11
I have two worksheets in the same workbook and I need to get a column from one worksheet matched up into a column of another worksheet.

active worksheet (hours)
column A - ID
...
...
column O - Segment

lookup worksheet (data)
...
column B - ID
...
...
column H - Segment

SO I need a lookup in hours column O that will find a hit on ID = ID and get the segment from data
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
• Learn & ask questions
• 2
3 Comments

LVL 50

Expert Comment

ID: 34978763
You should be able to use a VLOOKUP formula for this, e.g. in O2 on hours worksheet

=VLOOKUP(A2,Data!B:H,7,0)

Then copy that down the column

regards, barry
0

LVL 33

Accepted Solution

jppinto earned 2000 total points
ID: 34979120
Please check this article on how to use VLOOKUP() function:

http://excel-user.blogspot.com/2009/10/vlookup-get-value-based-on-another.html

jppinto
0

LVL 50

Expert Comment

ID: 35141902
Didn't my answer give you the specific formula you needed according to your description?

regards, barry
0

## Featured Post

Question has a verified solution.

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

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
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.
###### Suggested Courses
Course of the Month8 days, left to enroll

#### 610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.