Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
Alright,
I can't find a formula i could use to do this and was hoping for some help. I have a workbook with 2 sheets. I need a formula that will compare column a from sheet 1 with column a from sheet two. If there is a value that matches, i need it to put value out of that same row in sheet two and put it on column b in sheet 1 for that particular value. The info is confidential so i can't upload here i hope what i ask for makes sense though. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a workbook with 2 sheets.
I need a formula that will compare column a from sheet 1 with column a from sheet two. If there is a value that matches, i need it to put value out of that same row in sheet two and put it on column b in sheet 1 for that particular value. VLOOKUP is a natural function to use here. Check Excel's built-in Help for its details. For example, try putting this in Sheet1!B1 and copying down as far as needed. =IFERROR(VLOOKUP(A7,Sheet2!A:B,2,FALSE),"") The IFERROR part covers the case where there is no match; it returns a zero-length string in this case. In my example, the value is drawn from column B of sheet 2. For a different column, change A:B to A:E (or whatever) and increase the third parameter of VLOOKUP from 2 to reach the desired column. (I have Excel 2010.) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Adding New Sheet, But Carrying Over Previous Sheet's Cell Calls | Excel Programming | |||
comparing two excel sheet and providing the outcome in a 3rd sheet | Excel Programming | |||
Adding a new Sheet but not making it the Active Sheet | Excel Programming | |||
VBA to stop XL from adding the Path Sring to Sheet-to-Sheet Links | Excel Discussion (Misc queries) | |||
adding data from one sheet to another sheet as a dropdown list bo. | Excel Discussion (Misc queries) |