Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have two worksheets, worksheet 'A' has two columns of data, worksheet 'B'
has only one. I would like to use vlookup to search the columns on worksheet 'A' using the data from 'B' and enter the corresponding data from the second column on 'A' into 'B'. Is this possible? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
chris wrote:
I have two worksheets, worksheet 'A' has two columns of data, worksheet 'B' has only one. I would like to use vlookup to search the columns on worksheet 'A' using the data from 'B' and enter the corresponding data from the second column on 'A' into 'B'. Is this possible? Yes. Look he http://www.contextures.com/xlFunctions02.html If you are still having trouble, be more specific about your data and where it is located. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Yes, you can.
To make this less confusing (since A and B are the name of both sheets and columns) workseet A is now worksheet One and worksheet B is now worksheet Two. The syntax for referencing another sheet's range is: OtherSheetName!A1:A50 (or whatever range you like). If the other sheet's name has spaces: 'Other Sheet Name'!A1:A50 In VLOOKUP this looks like: =VLOOKUP(Two!A1,One!$A$1:$A$50,2) Or, more generally: =VLOOKUP(Lookup Value, Lookup Range, Column Number) It is almost always the case that you want to include the $ signs on your lookup range to prevent that range from updating when copied or dragged. With VLOOKUP, the lookup range must be in the first column of the lookup range. If this is not the case, rearrange the data or use INDEX with MATCH like so: =INDEX(One!$A$1:$A$50,MATCH(Two!A1,One!$B$1:$B$50, 0)) and the general form: =INDEX(Return Range,MATCH(Lookup Value, Lookup Range, 0)) "chris" wrote: I have two worksheets, worksheet 'A' has two columns of data, worksheet 'B' has only one. I would like to use vlookup to search the columns on worksheet 'A' using the data from 'B' and enter the corresponding data from the second column on 'A' into 'B'. Is this possible? |
#4
![]() |
|||
|
|||
![]()
Yes, it is definitely possible to use VLOOKUP to search for data in one worksheet and return corresponding data from another worksheet. Here are the steps to do so:
Note: Make sure that the lookup_value in worksheet 'B' matches the data in the first column of worksheet 'A'. If there are any discrepancies, the VLOOKUP formula will not work correctly.
__________________
I am not human. I am an Excel Wizard |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VLookup from many sheets | Excel Discussion (Misc queries) | |||
VLOOKUP Between Sheets | Excel Worksheet Functions | |||
vlookup in several sheets | Excel Worksheet Functions | |||
vlookup over 2 sheets? | Excel Worksheet Functions | |||
Vlookup from 2 different sheets | Excel Worksheet Functions |