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!
Reply
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!
Reply