Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Hi, Is there a way to get data based on two variables? The data I want is in an array format, so I am trying to get the value of a cell at the intersection of two variables. Will I have to use Vlookup and Hlookup in the same formula? Thanks -- sanders ------------------------------------------------------------------------ sanders's Profile: http://www.excelforum.com/member.php...o&userid=36745 View this thread: http://www.excelforum.com/showthread...hreadid=566540 |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=INDEX(array,MATCH(x, col as range,0),MATCH(y, row as range,0))
"sanders" wrote: Hi, Is there a way to get data based on two variables? The data I want is in an array format, so I am trying to get the value of a cell at the intersection of two variables. Will I have to use Vlookup and Hlookup in the same formula? Thanks -- sanders ------------------------------------------------------------------------ sanders's Profile: http://www.excelforum.com/member.php...o&userid=36745 View this thread: http://www.excelforum.com/showthread...hreadid=566540 |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Thanks for the help, it works fine. But, it turns out I need it to be a little more complex. Can I add a third variable? The data is set out like: Y N depA depB depC depD depA depB depC dep D cat1 cat2 cat3 So far the formula selects the value at the intersection of dep and cat. Can I add in a further bit where it will show the value of the intersection of dep/cat IF they are in the Y bit? Thanks again -- sanders ------------------------------------------------------------------------ sanders's Profile: http://www.excelforum.com/member.php...o&userid=36745 View this thread: http://www.excelforum.com/showthread...hreadid=566540 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Lookup function gives wrong values occasionally | Excel Discussion (Misc queries) | |||
Another way to lookup data | Excel Worksheet Functions | |||
Lookup Vector > Lookup Value | Excel Worksheet Functions | |||
Lookup function w/Text and Year | Excel Worksheet Functions | |||
double lookup, nest, or macro? | Excel Worksheet Functions |