Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I am searching for a value from one table to another. The value has two
identifiers that form a unique combination (in columns A and E). If the value in Sheet2 has no corresponding value in Sheet1 (meaning that the columns A and E in Sheet2 had no match in Sheet1), the value is to be returned to the cell. If the value IS in Sheet2, I want to compare the values, and if the two values are different, I want to return the value in Sheet2 to the cell. The formula seen below is what I have been using (in Sheet3) for row # 6. =IF(ISERROR(INDEX(Sheet2!B$2:B$9000,MATCH(1,(Sheet 1!$A$2:$A$9000=Sheet2!$A6)*(Sheet1!$E$2:$E$9000=Sh eet2!$E6),0))), "", IF(INDEX(Sheet2!B$2:B$9000,MATCH(1,(Sheet1!$A$2:$A $9000=Sheet2!$A6)*(Sheet1!$E$2:$E$9000=Sheet2!$E6) ,0)) = INDEX(Sheet1!B$2:B$9000,MATCH(1,(Sheet2!$A$2:$A$90 00=Sheet1!$A6)*(Sheet2!$E$2:$E$9000=Sheet1!$E6),0) ), "", INDEX(Sheet2!B$2:B$9000,MATCH(1,(Sheet1!$A$2:$A$90 00=Sheet2!$A6)*(Sheet1!$E$2:$E$9000=Sheet2!$E6),0) ))) But, if the value that im searching for is deleted in Sheet2, i get an #N/A. Shouldnt this formula just skip a deleted row and go to the next? (the row is completely deleted....it is not a blank row) thanks in advance for the help....it will be much appreciated! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Returning MULTIPLE values with Index and Match | Excel Discussion (Misc queries) | |||
Reference different files using vlookup | Excel Worksheet Functions | |||
Function Vlookup, Match or Index? | Excel Worksheet Functions | |||
Convert VLOOKUP to absolute cell reference | Excel Discussion (Misc queries) | |||
VLOOKUP returning wrong row | Excel Worksheet Functions |