+ Reply to Thread
Results 1 to 4 of 4

Number hunting...

  1. #1
    Registered User
    Join Date
    01-16-2017
    Location
    Norway
    MS-Off Ver
    2013
    Posts
    2

    Number hunting...

    I have a list of a couple of hundred numbers in a column, they look like this: 123456 - 12345.
    I need to filter the numbers that are ****01-*****, ****00-*****, ****99-*****, ****98-*****, ****97-***** and so on (counting).
    Meaning I want to remove any numbers that have 02, 03, 04, 05, 06, 07, 08, 09, 10 in the fifth and sixth place.

    There must be some way to fix this, and I have tried google, but I can't seem to find the proper English term to search for.

    Can anyone help me by either telling be how to do it, or giving me the name of what I'm looking for?

    Thanks!

  2. #2
    Valued Forum Contributor kasan's Avatar
    Join Date
    07-22-2009
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2010
    Posts
    680

    Re: Number hunting...

    Hi and welcome!
    You can extract numbers you wish first. If your code 123456-12345 is in cell A1, then B1 formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    This will return '56', drag formula down and then filter out your 02, 03 ...

  3. #3
    Registered User
    Join Date
    01-16-2017
    Location
    Norway
    MS-Off Ver
    2013
    Posts
    2

    Re: Number hunting...

    Hi and thank you for your quick reply!

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2404
    Posts
    13,407

    Re: Number hunting...

    As an alternative you could also modify kasan's formula as

    =OR(MID(A1,5,2)={"02","03","04","05","06","07","08","09","10"})

    and filter out TRUE.

    Note that the numbers are in quotes since source data is text and the output of the MID function is text.
    Dave

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Need Urgent Help with how to create a nested table
    By Consultdave in forum Excel General
    Replies: 1
    Last Post: 02-05-2013, 10:18 PM
  2. [SOLVED] I need help with an folmula for hunting / matching names and value
    By Whayne in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 PM
  3. I need help with an folmula for hunting / matching names and value
    By Whayne in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-06-2005, 11:05 AM
  4. [SOLVED] I need help with an folmula for hunting / matching names and value
    By Anne Troy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 07:05 AM
  5. I need help with an folmula for hunting / matching names and value
    By Anne Troy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 06:05 AM
  6. I need help with an folmula for hunting / matching names and value
    By Whayne in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  7. [SOLVED] I need help with an folmula for hunting / matching names and value
    By Whayne in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  8. I need help with an folmula for hunting / matching names and value
    By Whayne in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1