Data filtering

ashani

Active Member
Joined
Mar 14, 2020
Messages
345
Office Version
  1. 365
Platform
  1. Windows
Hi team,

I wonder if someone could please guide me on data filtering option :

I have approx 80 telephone numbers and I have a list of data for approx 10,000 numbers - I would like to extract those 80 numbers full line from the list (80 telephone numbers could be there multiple times).

Any formula or VBA syntax would be fine.

Many thanks,
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Why not make a copy and use Excel's "Remove Duplicates" functionality to get the 80 unique numbers?
 
Upvote 0
is there a formula or easy way to do it as it's a huge database and finding specific numbers in those database. As I said some numbers maybe there multiple times.
 
Upvote 0
Thank you Joe

I think I didn't explain properly, I don't want to remove duplicates - I actually want to find those 80 telephone numbers from the list of 10,000 numbers. Some of those 80 numbers may have been in the list multiple times and I do want them as well.
 
Upvote 0
That is why I said to "make a copy" - so you don't do lose anything from your original list.
If you remove the duplicates from the copy, then you are just left with a list of the unique values.
Isn't that what you want?

If not, then please show us an example of your data and expected output.
 
Upvote 0
Hi Joe,

Here's the screenshot - so I would like the numbers to be found in the actual telephone number list.

Thank you!
 

Attachments

  • Screenshot 2022-07-29 at 13.34.09.png
    Screenshot 2022-07-29 at 13.34.09.png
    89.8 KB · Views: 6
Upvote 0
So, if you copy the telephone number list to that other column, select that new list, and click on the Remove Duplicates, it will do exactly that (just like shown in the link I provided).
What part is tripping you up?
 
Upvote 0
This is my take on this

Fluff.xlsm
ABCDEFGHIJKLM
1
2222843TL071228BedfordshireLutonSaints222843222843TL071228BedfordshireLutonSaints
3180398SU876803BerkshireWindsor and MaidenheadBoyn Hill556516222843TA084300East Riding of YorkshireKingston upon Hull, City ofAvenue
4179942SU863799BerkshireWindsor and MaidenheadCox Green213053222843TM034228EssexColchesterWivenhoe
5171468SU678714BerkshireWest BerkshireCalcot185593213053TL329130HertfordshireEast HertfordshireHertford Castle
6266957TL588669CambridgeshireEast CambridgeshireBurwell339743213053TL232248HertfordshireStevenageOld Town
7519486NZ427194County DurhamStockton-on-TeesGrangefield344066213053SK598040LeicestershireLeicesterWycliffe
8530420NY018304CumbriaAllerdaleSeaton283934213053SJ583953MerseysideSt. HelensNewton
9393828SK018938DerbyshireHigh PeakSimmondley339364344066SK542440NottinghamshireNottinghamBulwell
10222843TA084300East Riding of YorkshireKingston upon Hull, City ofAvenue395353339364SK709393NottinghamshireRushcliffeBingham East
11393828TQ316063East SussexBrighton and HoveHollingdean and Stanmer339743SK012397StaffordshireStaffordshire MoorlandsCheckley
12222843TM034228EssexColchesterWivenhoe556516NZ352565Tyne and WearSunderlandSt Anne's
13393828TQ349861Greater LondonHackneyLea Bridge283934SP088839West MidlandsBirminghamSpringfield
14175927TQ138759Greater LondonHounslowHounslow Central185593SU152855WiltshireSwindonGorse Hill and Pinehurst
15188128TQ338881Greater LondonHaringeySeven Sisters
16121815SU357218HampshireTest ValleyCupernham
17147101SU362471HampshireTest ValleyAlamein
18213053TL329130HertfordshireEast HertfordshireHertford Castle
19213053TL232248HertfordshireStevenageOld Town
20213053SK598040LeicestershireLeicesterWycliffe
21213053SJ583953MerseysideSt. HelensNewton
22319585TF642195NorfolkKing's Lynn and West NorfolkFairstead
23344066SK542440NottinghamshireNottinghamBulwell
24339364SK709393NottinghamshireRushcliffeBingham East
25391570SK386915SouTHISheffieldShiregreen and Brightside
26324052SJ937240StaffordshireStaffordCoton
27339743SK012397StaffordshireStaffordshire MoorlandsCheckley
28160695TQ105606SurreyElmbridgeCobham and Downside
29556516NZ352565Tyne and WearSunderlandSt Anne's
30564168NZ227641Tyne and WearNewcastle upon TyneElswick
31283934SP088839West MidlandsBirminghamSpringfield
32303816SJ993038West MidlandsWalsallBloxwich West
33111374TQ184113West SussexHorshamSteyning
34434885SE238348West YorkshireLeedsBramley and Stanningley
35185593SU152855WiltshireSwindonGorse Hill and Pinehurst
Data
Cell Formulas
RangeFormula
I2:M14I2=FILTER(A2:E35,ISNUMBER(MATCH(A2:A35,G2:G10,0)))
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,215,400
Messages
6,124,702
Members
449,180
Latest member
craigus51286

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