Match cell in a range

audax48

Board Regular
Joined
May 19, 2012
Messages
54
Office Version
  1. 2019
Platform
  1. Windows
Hi experts, I need some help please, Column E is populated with 10 numbers (E1-E10)
In B1, C1 and D1 simple digits.
I'd like to get in Column F a new list with the numbers that have only one of the digits given in B1 C1 D1.Ex


B1=2, C1=4 D1=5 Column E= 021, 035, 187, 292, 425, 328, 654, 768, 945 y 437 then Column F= 021, 035, 328, 437
Thank you a lot
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Using a helper column in G:


Book1
BCDEFG
12450210211
20350351
31873280
42924372
54253
63281
76542
87680
99452
104371
Sheet1
Cell Formulas
RangeFormula
F1{=IFERROR(INDEX($E$1:$E$10,SMALL(IF($G$1:$G$10=1,ROW($E$1:$E$10)-ROW($E$1)+1),ROWS($F$1:$F1))),"")}
G1{=SUM(LEN(TEXT($E1,"000"))-LEN(SUBSTITUTE(TEXT($E1,"000"),$B$1:$D$1,"")))}
Press CTRL+SHIFT+ENTER to enter array formulas.


WBD
 
Upvote 0

Forum statistics

Threads
1,223,703
Messages
6,173,980
Members
452,540
Latest member
haasro02

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