if A subset of B.

sl_apipong

New Member
Joined
Dec 1, 2016
Messages
2
Dear MrExcel,
I stuck with this formula when i have "/"(or) in the cell.
Any suggestion how can i get the result from this?

Best Regards,
Apipong L.

B
a
b1/b2/b3
c
d
e1/e2
f
A
1
a
b1
c
d
e1
f
TRUE
2
a
b2
c
d
e1
f
TRUE
3
a
b3
c
d
e1
f
TRUE
4
a
b1
c
d
e2
f
TRUE
5
a
b2
c
d
e2
f
TRUE
6
a
b3
c
d
e2
f
TRUE
6
a
b4
c
d
e2
f
FALSE
8
a
b3
c
d
e2
g
FALSE

<tbody>
</tbody>
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

Marcelo Branco

MrExcel MVP
Joined
Aug 23, 2010
Messages
17,100
Office Version
  1. 365
  2. 2016
  3. 2010
Platform
  1. Windows
Welcome to Mr Excel

Maybe...


A
B
C
D
E
F
G
H
I
1
Set B​
Set A​
Formula​
2
a​
a​
b1​
c​
d​
e1​
f​
TRUE​
3
b1/b2/b3​
a​
b2​
c​
d​
e1​
f​
TRUE​
4
c​
a​
b3​
c​
d​
e1​
f​
TRUE​
5
d​
a​
b1​
c​
d​
e2​
f​
TRUE​
6
e1/e2​
a​
b2​
c​
d​
e2​
f​
TRUE​
7
f​
a​
b3​
c​
d​
e2​
f​
TRUE​
8
a​
b4​
c​
d​
e2​
f​
FALSE​
9
a​
b3​
c​
d​
e2​
g​
FALSE​

Formula in I2 copied down
=SUMPRODUCT(--ISNUMBER(MATCH("*/"&$C2:$H2&"/*","/"&$A$2:$A$7&"/",0)))=COUNTA($C2:$H2)

Hope this helps

M.
 
Upvote 0

sl_apipong

New Member
Joined
Dec 1, 2016
Messages
2
Thanks both to reply,
Sorry that my description is not clear.
Branco get my point and this gorgeousformala for me.

may i put little bit complexier

Best Regards,
Apipong L.

CI No.492414924149241
Variant3LFUEL210/LFUEL315/LFUEL405/LFUEL610,TNK-SINGLFUEL210/LFUEL315,TNK-DUAL/TNK-SINGFAA20,ENG-VE11,FUEFC1LW
FAA20,ENG-D8,UEAS/EAS-SCR
Unit NumberJ9XFZXKDXDPXA9B
800749RFUEL405FAA10TNK-SINGENG-VE11UFUEFCY/N?Y/N?Y/N?
800750RFUEL405FAA10TNK-SINGENG-VE11UFUEFCY/N?Y/N?Y/N?
800751RFUEL405FAA10TNK-SINGENG-VE11UFUEFCY/N?Y/N?Y/N?
800752RFUEL405FAA10TNK-SINGENG-VE11UFUEFCY/N?Y/N?Y/N?
800753RFUEL315FAA10TNK-SINGENG-VE11UFUEFCY/N?Y/N?Y/N?
800754RFUEL315FAA10TNK-SINGENG-VE11UFUEFCY/N?Y/N?Y/N?
800755RFUEL315FAA10TNK-SINGENG-VE11UFUEFCY/N?Y/N?Y/N?
800756RFUEL315FAA10TNK-SINGENG-VE11UFUEFCY/N?Y/N?Y/N?
800757RFUEL405FAA20TNK-SINGENG-VE11UFUEFCY/N?Y/N?Y/N?
800758RFUEL405FAA20TNK-SINGENG-VE11UFUEFCY/N?Y/N?Y/N?
800759RFUEL405FAA20TNK-SINGENG-VE11UFUEFCY/N?Y/N?Y/N?
800760RFUEL405FAA20TNK-SINGENG-VE11UFUEFCY/N?Y/N?Y/N?
14366RFUEL405FAA10TNK-SINGENG-VE11UFUEFCY/N?Y/N?Y/N?
14367RFUEL405FAA10TNK-SINGENG-VE11UFUEFCY/N?Y/N?Y/N?
14368RFUEL405FAA10TNK-SINGENG-VE11UFUEFCY/N?Y/N?Y/N?
14369RFUEL405FAA10TNK-SINGENG-VE11UFUEFCY/N?Y/N?Y/N?
14370RFUEL405FAA10TNK-SINGENG-VE11UFUEFCY/N?Y/N?Y/N?
14371RFUEL315FAA10TNK-SINGENG-D8FUEFC1SWY/N?Y/N?Y/N?
14372RFUEL315FAA10TNK-SINGENG-D8FUEFC1SWY/N?Y/N?Y/N?
14373RFUEL315FAA10TNK-SINGENG-D8FUEFC1SWY/N?Y/N?Y/N?
14374RFUEL315FAA10TNK-SINGENG-D8FUEFC1SWY/N?Y/N?Y/N?
14375RFUEL315FAA10TNK-SINGENG-D8FUEFC1SWY/N?Y/N?Y/N?

<tbody>
</tbody><colgroup><col><col span="5"><col><col><col></colgroup>
 
Upvote 0

Marcelo Branco

MrExcel MVP
Joined
Aug 23, 2010
Messages
17,100
Office Version
  1. 365
  2. 2016
  3. 2010
Platform
  1. Windows
Don't understand what you are trying to do.
Which subsets do you want to compare? What are the expected/desired results?
Could you provide a more detailed explanation?

M.
 
Upvote 0

Forum statistics

Threads
1,191,070
Messages
5,984,455
Members
439,889
Latest member
mukundghayadar1983

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
Top