Find in column A all values outside text 1, text 2, text 3, text 4. In B, write the values

Slavio

Board Regular
Joined
Mar 28, 2021
Messages
59
Office Version
  1. 365
Platform
  1. Windows
  2. Web
Hi, in column A I have different values formatted as text.
In column B, I want to get values from column A, but without specific texts.
Column D contains the texts I will be looking for.
I've tried different formulas, but I can't leave out more specific texts.
Find-Results.xlsx
ABCD
1Text1656OIuzdesired results in column BText1
2656OIuzText2656OIuzText2
3Text2Text3klsdgjk5689Text3
4Text3klsdgjk5689789789879Text4
5klsdgjk568978978987965669
6789789879Text4
7Text465669
8656690
Sheet1
Cell Formulas
RangeFormula
B1:B1048575B1=FILTER(A:A,A:A<>"Text1")
Dynamic array formulas.

Thanks.
Slavio
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Try this:

Book1
ABCD
1Text1656OIuzdesired results in column BText1
2656OIuzklsdgjk5689656OIuzText2
3Text27.9E+08klsdgjk5689Text3
4Text365669789789879Text4
5klsdgjk568965669
6789789879
7Text4
865669
Sheet1
Cell Formulas
RangeFormula
B1:B4B1=FILTER($A$1:$A$8,($A$1:$A$8<>$D1)*($A$1:$A$8<>$D2)*($A$1:$A$8<>$D3)*($A$1:$A$8<>$D4),"")
Dynamic array formulas.
 
Upvote 0
awoohaw, I'm not on system.
But would like to know if below formula would also work.
Excel Formula:
=FILTER(A:A,A:A<>D1:D4)
 
Upvote 0
awoohaw, I'm not on system.
But would like to know if below formula would also work.
Excel Formula:
=FILTER(A:A,A:A<>D1:D4)
I tried that. I'm not sure if I had the syntax correct though. It did not work.

Here is the result i get:
Cell Formulas
RangeFormula
F1F1=FILTER($A$1:$A$8,($A$1:$A$8)<>($D$1:$D$4),"")
G1G1=FORMULATEXT(F1)
 
Upvote 0
Try this:

Book1
ABCD
1Text1656OIuzdesired results in column BText1
2656OIuzklsdgjk5689656OIuzText2
3Text27.9E+08klsdgjk5689Text3
4Text365669789789879Text4
5klsdgjk568965669
6789789879
7Text4
865669
Sheet1
Cell Formulas
RangeFormula
B1:B4B1=FILTER($A$1:$A$8,($A$1:$A$8<>$D1)*($A$1:$A$8<>$D2)*($A$1:$A$8<>$D3)*($A$1:$A$8<>$D4),"")
Dynamic array formulas.
@snjpverma Thanks, Your formula didn't work for me
@awoohaw
Excel Formula:
=FILTER($A$1:$A$8,($A$1:$A$8<>$D1)*($A$1:$A$8<>$D2)*($A$1:$A$8<>$D3)*($A$1:$A$8<>$D4),"")
This formula works but for some reason when I have 500 rows it skips the numeric values. I'm still checking the formatting.
 
Upvote 0
How about
Excel Formula:
=FILTER(A1:A1000,(A1:A1000<>"")*(ISNA(MATCH(A1:A1000,D1:D100,0))))
 
Upvote 0
Solution
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,246
Messages
6,170,988
Members
452,373
Latest member
TimReeks

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