Solved

lookup equation in excel

Posted on 2011-02-25
3
219 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 500 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

Question has a verified solution.

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

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

790 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