Formula for finding an element
One way...
Array entered** :
=INDEX(C1:C3,MATCH(1,IF(A1:A3=5,IF(B1:B3=6,1)),0))
** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT
key then hit ENTER.
--
Biff
Microsoft Excel MVP
"bim-bom" wrote in message
...
Hi,
I have a spreadsheet:
1 2 100
5 6 200
5 11 300
I want to find a row which where first column has a specific value and
the second column has a specific value, and print a value in the third
column.
So, I want something like:
= FIND_VALUE (A1:A3 ; 5 ; B1:B3 ; 6 ; C1) // finds 5 in the first column
and 6 in the second
And it should show the value 200
|