View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips[_4_] Bob Phillips[_4_] is offline
external usenet poster
 
Posts: 834
Default Look up multiple values

Try this array formula

=INDEX(C2:C6,MATCH(1,(A2:A6=100)*(B2:B6=900),0))

--

HTH

Bob

"stretch" wrote in message
...
I have a table where I want a value based on looking at data in two columns
as follows;
Table:
A B C
1 Bore Pressure Length
2 100 760 80
3 100 1050 100
4 100 1200 100
5 125 670 80
6 125 830 100

I want to find a value in column C, based on an exact value from column A
and when given a value for column B the value immediately above it. (e.g
If
i had a bore of 100 and pressure of 900, I would want the value of 100
from
row 3)
Hope this explains it, i have tried SUMPRODUCT in various formats but have
been unsuccessful.
Thanks