arguement problem

chubbybubba1

New Member
Joined
Dec 29, 2004
Messages
37
I have the formula below look in cell "J100" of another workbook, then within a worksheet. If it finds "KOMEN", it takes the text in row A100 of that worksheet and gives me the entered text. That is working great. What if I want it to look for other known entered words in J100:J5000? What I'm saying is that various data entry clerks have entered "Komen" 2 other ways. CICP/KOMEN and CHS/KOMEN. How do I continue my formula to look for all 3 ways in one formula. Commas between the KOMEN's aren't working. I guess I figured it would import any hit with "KOMEN", but it doesn't. :huh:

Thanks for any advice.

=IF('[WMS LOG SHEET1.xls]06-30-05 through 06-29-06'!J100="KOMEN",'[WMS LOG SHEET1.xls]06-30-05 through 06-29-06'!A100,"")
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
chubbybubba1 said:
I have the formula below look in cell "J100" of another workbook, then within a worksheet. If it finds "KOMEN", it takes the text in row A100 of that worksheet and gives me the entered text. That is working great. What if I want it to look for other known entered words in J100:J5000? What I'm saying is that various data entry clerks have entered "Komen" 2 other ways. CICP/KOMEN and CHS/KOMEN. How do I continue my formula to look for all 3 ways in one formula. Commas between the KOMEN's aren't working. I guess I figured it would import any hit with "KOMEN", but it doesn't. :huh:

Thanks for any advice.

=IF('[WMS LOG SHEET1.xls]06-30-05 through 06-29-06'!J100="KOMEN",'[WMS LOG SHEET1.xls]06-30-05 through 06-29-06'!A100,"")

Try --

IF(ISNUMBER(MATCH('[WMS LOG SHEET1.xls]06-30-05 through 06-29-06'!J100,A1:A3,0)),'[WMS LOG SHEET1.xls]06-30-05 through 06-29-06'!A100,"")

Where A1:A3 hold the possible matches.

Unchecked as to syntax typos.
 
Upvote 0
Perhaps

=IF(ISNUMBER(SEARCH("KOMEN",'[WMS LOG SHEET1.xls]06-30-05 through 06-29-06'!J100)),'[WMS LOG SHEET1.xls]06-30-05 through 06-29-06'!A100,"")

this should return A100 if "KOMEN" is found anywhere in J100 (in upper or lower case)
 
Upvote 0

Forum statistics

Threads
1,225,530
Messages
6,185,477
Members
453,297
Latest member
alvintranvcu123

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