# IF(ISNUMBER(SEARCH............HELP!!!

#### troy1218

##### New Member
I am working in a workbook and concentrating on two of the tabs. One tab is called "TData" and the other is called "ROParts".

I am trying to copy a row from the "TData" tab to the "ROParts" tab if the cells in column A contain certain numbers. Both data sets are identical, I just want the "ROParts" tab to capture certain part numbers. I don't care that there are some blank spaces between the rows in the "ROParts" sheet if there are part numbers that don't match my list. Here is the formula I used in the

=IF(ISNUMBER(TData!\$A3),IF(ISNUMBER(SEARCH({"3664","3665","3666","3667","3713","3714","3635","3636","3637","3639","3640","3641"},TData!\$A3)),TData!A3:K3,""),"")

My goal is to get a row to copy to "ROParts" if column A contains any of the following numbers listed in the formula above: {"3664","3665","3666","3667","3713","3714","3635","3636","3637","3639","3640","3641"}. It is working really well if the number in column A of the "TData" sheet is 3664 in it. In other words, it is only returning the entire row of data if it matches the first number in my search list. Is there a way I can use the SEARCH formula to lookup multiple numbers as I have listed in the formula above? If not, can you tell me what I need to do differently?

I appreciate any help with this. I am going crazy trying to find a solution.

Thank you!

### Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

#### Fluff

##### MrExcel MVP, Moderator
Hi & welcome to MrExcel.
Excel Formula:
``=IF(ISNUMBER(TData!\$A3),IF(ISNUMBER(MATCH(TData!\$A3,{3664,3665,3666,3667,3713,3714,3635,3636,3637,3639,3640,3641},0)),TData!A3:K3,""),"")``

#### Candyman8019

##### Board Regular
Just thinking...checking to see if the value is ISNUMBER may be irrelevant here since you're looking for specific values anyway. Thoughts?

Replies
2
Views
81
Replies
13
Views
204
Replies
2
Views
100
Replies
2
Views
175
Replies
10
Views
404

1,130,201
Messages
5,640,818
Members
417,168
Latest member
StumpoC

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

### Which adblocker are you using?

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

### Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back