• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 226
  • Last Modified:

lookup equation in excel

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
Matt Pinkston
Asked:
Matt Pinkston
  • 2
1 Solution
 
barry houdiniCommented:
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
 
jppintoCommented:
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
 
barry houdiniCommented:
Didn't my answer give you the specific formula you needed according to your description?

regards, barry
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now