Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
Hi,
I have data in column A, B and C starting from row number 2. Also, I have some data in column P and Q starting from row number 2. The data in A and B TOGETHER constitute a Unique ID. Similarly data in P and Q together constitute a Unique ID. Now based on the data in P and Q I want to look up A and B and return value from C in column R. As of now, I use an inefficient way of building up a helper column in D (D2 = A2 & B2) and S (S2 = P2 and Q2). Then in R2 I write the formula, = =INDEX($C$2:$D$1000,MATCH(S2,$D$2:$D$1000,0),1) Is there a better way of accomplishing the above (an array formula or some mega formula which doesnt resort to inserting dummy columns etc) Please guide me. Regards, Hari India |
#2
![]() |
|||
|
|||
![]()
Hi!
Try this: Array entered: =INDEX($C$2:$D$1000,MATCH(P2&Q2,$A$2:$A$1000&$B$2: $B$1000,0),1) Is it more efficient than using 2 helper columns? Maybe, maybe not! It depends! Biff "Hari" wrote in message oups.com... Hi, I have data in column A, B and C starting from row number 2. Also, I have some data in column P and Q starting from row number 2. The data in A and B TOGETHER constitute a Unique ID. Similarly data in P and Q together constitute a Unique ID. Now based on the data in P and Q I want to look up A and B and return value from C in column R. As of now, I use an inefficient way of building up a helper column in D (D2 = A2 & B2) and S (S2 = P2 and Q2). Then in R2 I write the formula, = =INDEX($C$2:$D$1000,MATCH(S2,$D$2:$D$1000,0),1) Is there a better way of accomplishing the above (an array formula or some mega formula which doesnt resort to inserting dummy columns etc) Please guide me. Regards, Hari India |
#3
![]() |
|||
|
|||
![]()
Hi Biff,
Thnx for the formula. Getting the idea. Regards, Hari India |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Lookup Table Dilemma | Excel Worksheet Functions | |||
I have ad address in one column. I need to break apart the data | New Users to Excel | |||
Lookup thinks data isn't sorted | Excel Worksheet Functions | |||
Macro to Synchronize data frm svrl workbooks & columns to 1 workbo | Excel Discussion (Misc queries) | |||
How do I sort a column of data and have each data row sort accordi | Excel Discussion (Misc queries) |