?
Solved

lookup equation in excel

Posted on 2011-02-25
3
Medium Priority
?
229 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
Comment
Question by:Matt Pinkston
  • 2
3 Comments
 
LVL 50

Expert Comment

by:barry houdini
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

by:
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

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

regards, barry
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This article describes a serious pitfall that can happen when deleting shapes using VBA.
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

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

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

Join & Ask a Question