F
FDDavis
I am trying to Data fill sheet 2 based on criteria match from sheet 1.
I have no knowledge of VBA and/or macros and very limited knowledg
working with arrays.
see sample data below
sheet 1 note sheet 1 contains approx 2500 rows
column A column B
2295.60 sales.sam
17496 jobs.sue
14.45 trade.john
1775 trade.sam
Sheet 2 should look in column B for .sam or .john and when foun
return results to sheet 2 columns A and B
sheet 2 contain variable number of rows depending on occurrences o
sheet 1
Column A column B
2295.60 sales.sam
14.45 trade.john
1775 trade.sam
I have tried several options I think I need an array formula. I ca
find the data with the following array formula I have not worked on th
or statement yet to find sam or john I figured when I got it workin
for 1 then could modify to add the or for the other
In sheet 2 column A entered with cntrl shift enter
{=INDEX('Sheet 1'!$A$1:$A$3000,MATCH(TRUE,ISNUMBER(FIND("sam",'Shee
1'!$B$1:$B$3000)),0))}
in sheet 2 column B entered with cntrl shift enter
{=INDEX('Sheet 1'!$B$1:$B$3000,MATCH(TRUE,ISNUMBER(FIND("sam",'Shee
1'!$B$1:$B$3000)),0))}
but when I drag it down it keeps finding the same entry so I have to d
something different. Maybe I am approaching the solution wrong
I apologize for the lengthy question
Thanks in Advance for any help F
I have no knowledge of VBA and/or macros and very limited knowledg
working with arrays.
see sample data below
sheet 1 note sheet 1 contains approx 2500 rows
column A column B
2295.60 sales.sam
17496 jobs.sue
14.45 trade.john
1775 trade.sam
Sheet 2 should look in column B for .sam or .john and when foun
return results to sheet 2 columns A and B
sheet 2 contain variable number of rows depending on occurrences o
sheet 1
Column A column B
2295.60 sales.sam
14.45 trade.john
1775 trade.sam
I have tried several options I think I need an array formula. I ca
find the data with the following array formula I have not worked on th
or statement yet to find sam or john I figured when I got it workin
for 1 then could modify to add the or for the other
In sheet 2 column A entered with cntrl shift enter
{=INDEX('Sheet 1'!$A$1:$A$3000,MATCH(TRUE,ISNUMBER(FIND("sam",'Shee
1'!$B$1:$B$3000)),0))}
in sheet 2 column B entered with cntrl shift enter
{=INDEX('Sheet 1'!$B$1:$B$3000,MATCH(TRUE,ISNUMBER(FIND("sam",'Shee
1'!$B$1:$B$3000)),0))}
but when I drag it down it keeps finding the same entry so I have to d
something different. Maybe I am approaching the solution wrong
I apologize for the lengthy question
Thanks in Advance for any help F