This does not seem to return a cell, it returns a calculated value.
Roger suggestion include the "copy down" note.
Then you would look at that column to pick out the item that returned true.
If you wanted to return the first value that matched your criteria, you could
use this array formula:
=INDEX(A2:A100,
MATCH(TRUE,ISNUMBER(FIND("aaaa",A2:A100)*FIND("2222",A2:A100)),0))
or
this version based on toothless mama's response:
=INDEX(A2:A100,MATCH(TRUE,ISNUMBER(SEARCH("aaaa*2222",A2:A100)),0))
This is an array formula. Hit ctrl-shift-enter instead of enter. If you do it
correctly, excel will wrap curly brackets {} around your formula. (don't type
them yourself.)
Adjust the range to match--but you can only use the whole column in xl2007.
> This does not seem to return a cell, it returns a calculated value.
>
[quoted text clipped - 15 lines]
> > >
> > > I want to return the cell that contains aaaa and 2222.

Signature
Dave Peterson
TimD - 17 Sep 2007 23:54 GMT
I see I have not asked my question with all the details required.
The data example is on one sheet.
On another sheet I have 3 or more columns.
The header and first data element to search/ find in columns B, C, ... are
aaaa, bbbb
The row data and second data element for a2, a3, a4, ... are 1111, 2222,
2345, ...
I would like b2 to return the value from the first data sheet that has aaaa
and 1111, c2 return bbbb and 1111, etc.
> Roger suggestion include the "copy down" note.
>
[quoted text clipped - 36 lines]
> > > >
> > > > I want to return the cell that contains aaaa and 2222.
Dave Peterson - 18 Sep 2007 00:58 GMT
If you don't get any responses, you may want to rephrase your question. I know
that I don't understand it.
> I see I have not asked my question with all the details required.
>
[quoted text clipped - 53 lines]
> >
> > Dave Peterson

Signature
Dave Peterson