please ignore the precious one
this is the correct formula
=INDEX($C$1:$C$200&$D$1:$D$200,MATCH("A"&F1,A1:A20 0&$B$1:$B$200,0))
array entered (ctrl+shift+enter)
"N Harkawat" <nharkawat@hotmail_dot_com wrote in message
...
=INDEX($c$1:$c$200&$d$1:$d$200,MATCH(F1,$A$1:$A$20 0,0))
where a1:d 200 is the source range
where cell F1 holds the value that you want looked up and in your exampple
values like 123,456,789
Adjust your cells ranges accordingly , you get the idea
"carl" wrote in message
...
My data looks as so:
Data ColA ColB ColC ColD
A 123 Zebra Monkey
B 456 Dog Cat
C 123 Mouse Rabbit
A 789 Horse Cow
C 789 Cat Dog
I'm trying to put an array formula into ColB in the table below that will
look in
A1 (in the table below) and find a match in ColB of the data above, AND
if
ColA of the data above is equal to"A", concatenate the values in ColC
and
ColD - as shown below.
Table
123 ZebraMonkey
456
789 HorseCow
So the formula needs to find a match to cell A1 in the table in ColB of
the
data, and then check if the adjacent value in ColA of the data is equal
to
"A", concatenate the adjacent values in ColC and ColD of the data.
Is it possible ? Thank you in advance.
|