![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Guest
Posts: n/a
|
I want to look for a data in a table.
Find the data which is in row 3 if the data of row 1 and 2 are matching my values. I have A ; H ; K B ; J ; K B ; K ; L If row1=B and row2=J then I want the data in row3. Thanks for your help. |
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
In E1 enter: B [ a condition ] In E2 enter: J [ likewise a condition ] In E3 enter: =INDEX(C2:C4,SUMPRODUCT(MATCH(E1&"@"&E2,A2:A4&"@"&B2:B4,0))) Caveat. The formula expects that there are identical rows of values (duplicates) in the range of interest. |
|
|
|
|
|
|
#3 |
|
Guest
Posts: n/a
|
It works great !
Thanks a lot. |
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|