Need help- Find Function with Multiple criteria

Mallappa

New Member
Joined
Jul 20, 2012
Messages
15
Hi everyone,

I need your help for Find Function with Multiple criterias. Ex-

ADC XE AD ADKO R Ad Know Op
ADC XE AD ADKO X Ad Know
ADC XE AD ADKOAd Know
KNE XE KN ACDA

If this is my data in Column A, I need to find the names which contains " R " and " X " in 16th digit. I can do it using find formula twice but is there a way to do it in on shot..?

The formula I'm using is =FIND(" R ",A1,16) it gives me numbers like 16, 17, 19, 20 etc but I'm interested only in 16 digit so I just filter for 16 and copy the data to seperate tab.

Waiting for you ans​
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
No doesn't work. Problem with this it is not case sensitive.
No, it is case sensitive.

As written the formula must find uppercase " R " or " X ".

Book1
AB
2ADC XE AD ADKO r Ad Know OpFALSE
3ADC XE AD ADKO R Ad Know OpTRUE
4ADC XE AD ADKO x Ad KnowFALSE
5ADC XE AD ADKO X Ad KnowTRUE
6ADC XE AD ADKOAd KnowFALSE
7KNE XE KN ACDAFALSE
Sheet1

This formula entered in B2 and copied down:

=OR(EXACT(MID(A2,15,3),{" R "," X "}))

If that's not what you want then we need to see more examples and tell us what results you expect.
 
Last edited:
Upvote 0
Need help to Combine a formula

Hi Friendsm,

=IF(FIND("X ",$B3,16)=16,"True","False") and =IF(FIND("R ",$B3,16)=16,"True","False")

Can anybody help me to combine these two formula in one. The only change in these two is Find "R " or "X ".

Waiting for ealry reply..!
 
Upvote 0
Re: Need help to Combine a formula

Hi Friendsm,

=IF(FIND("X ",$B3,16)=16,"True","False") and =IF(FIND("R ",$B3,16)=16,"True","False")

Can anybody help me to combine these two formula in one. The only change in these two is Find "R " or "X ".

Waiting for ealry reply..!

Replace A1 with whichever cell you are using as a reference and try this:

=IF(MID(A1,16,1)<>"X",IF(MID(A1,16,1)<>"r",FALSE,TRUE),TRUE)

However, this ignores upper and lower case, so if the 16th character is x or R you will still get a true.
 
Upvote 0
Re: Need help to Combine a formula

I have merged your two threads into one.

The general rule of thumb is that any follow-ups, clarifications, or directly related follow-ups should be posted back to the original thread.
Only start new threads for entirely new questions.
 
Upvote 0
Re: Need help to Combine a formula

=IF(SEARCH("X ",$B3,16)=16,"True",IF(SEARCH("R ",$B3,16)=16,"True","False"))
 
Upvote 0

Forum statistics

Threads
1,225,478
Messages
6,185,228
Members
453,283
Latest member
Shortm88

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