isnumber search from list and return match

just_scott

New Member
Joined
Jun 5, 2013
Messages
8
Hi, guys. Iv changed jobs and industries, from retail to compliance, since I last came here for help. Somehow Im still the only one that can use excel at my work and I know very little, although trying my best.

So im dealing with around 50,000 rows of data.
I have a list (USERS!B2:B11) of common text data that appears in my data
Im trying to search for the text in the data and then return the text if finds.

My data is not in cells, nor formatted in a way that could allow text to columns.

Im currently using the following:

Code:
=IF(ISNUMBER(SEARCH(USERS!$B$2,DATA!A1)),USERS!$B$2,
IF(ISNUMBER(SEARCH(USERS!$B$3,DATA!A1)),USERS!$B$3,
IF(ISNUMBER(SEARCH(USERS!$B$4,DATA!A1)),USERS!$B$4,
IF(ISNUMBER(SEARCH(USERS!$B$5,DATA!A1)),USERS!$B$5,
IF(ISNUMBER(SEARCH(USERS!$B$6,DATA!A1)),USERS!$B$6,
IF(ISNUMBER(SEARCH(USERS!$B$7,DATA!A1)),USERS!$B$7,
IF(ISNUMBER(SEARCH(USERS!$B$8,DATA!A1)),USERS!$B$8,
IF(ISNUMBER(SEARCH(USERS!$B$9,DATA!A1)),USERS!$B$9,
IF(ISNUMBER(SEARCH(USERS!$B$10,DATA!A1)),USERS!$B$10,
IF(ISNUMBER(SEARCH(USERS!$B$11,DATA!A1)),USERS!$B$11,"ERROR"))))))))))
My problem is that im going to need more “if” functions but ill soon run out of space in my formula bar. No to mention it is very slow.
Is there a way to isnumber(search(index(match,

Iv been playing with:

Code:
{=IF(ISNUMBER(SEARCH(USERS!$B$2:$B22,DATA!A10)),"YES")}
This will return a FALSE if the text does not exist in the cell or a YES if the text is there but still not sure how I would make it return the text if found.

Any help would be greatly appreciated.
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off

Forum statistics

Threads
1,223,902
Messages
6,175,278
Members
452,629
Latest member
SahilPolekar

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?

Disable AdBlock

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
Back
Top