Solved

lookup equation in excel

Posted on 2011-02-25
3
216 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Sparklines have been introduced with Excel 2010 and are a useful tool for creating small in-cell charts, used for example in dashboards. Excel 2010 offers three different types of Sparklines: Line, Column and Win/Loss. What it does not offer is a…
INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
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.

863 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now