+ Reply to Thread
Results 1 to 6 of 6

Filter If Contains (Specific Number)

  1. #1
    Registered User
    Join Date
    09-03-2010
    Location
    London, England
    MS-Off Ver
    MS EXCEL 365 (v. 2111)
    Posts
    41

    Filter If Contains (Specific Number)

    Hi, I hope you guys can help.

    I have a spreadsheet to help manage the production of a Children's TV series - see attached.

    I basically want to filter all the 'types' of things dependant on whether they appear in an episode.

    I've managed to do this to a point but the problem is that certain assets will appear in multiple episodes. So, Environment (with parent 17) might appear in Episodes 1, 5, 12, and 19.

    I think I can manage to get it to filter everything that contains a '5' but the problem is that my filter list displays everything in episode '5' and '15' (because it contains a '5')

    Any help would be greatly appreciated!

    Thanks, James
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Filter If Contains (Specific Number)

    Still using Excel 2016? If not, please update your profilr accordingly...
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,885

    Re: Filter If Contains (Specific Number)

    I am a bit confused. Are you wanting to filter only on the items in Column L? And if this is the case what does "Any" mean? Does that mean you want to see all episodes in the filtered list? I do not understand this statement

    I think I can manage to get it to filter everything that contains a '5' but the problem is that my filter list displays everything in episode '5' and '15' (because it contains a '5')
    Would you clarify what you are attempting to do in that statement because I don't understand what that has to do with filtering the data based upon column L.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Filter If Contains (Specific Number)

    1. Change columnm A to double gidit text... 01 instead of 1, etc.

    2. Replace DV in H2 to allow only double digit entries.

    3. Use this:
    =FILTER(A2:D21,(ISNUMBER(MATCH(B2:B21,IF(H1="Any",L3:L6,H1),0))*(ISNUMBER(SEARCH(H2,A2:A21)))),"")

    1 and 2 are needed to prevent 15 being regarded as a 5....
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    09-03-2010
    Location
    London, England
    MS-Off Ver
    MS EXCEL 365 (v. 2111)
    Posts
    41

    Re: Filter If Contains (Specific Number)

    Thanks Glenn, done!

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Filter If Contains (Specific Number)

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please select "Thread Tools" from the menu link (just above the first post in the thread) and mark this thread as SOLVED.

+ 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. [SOLVED] Specific text or number to visible column depending upon filter
    By jimpatel1993 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-28-2021, 11:16 AM
  2. How to create filter based on specific number
    By Assadniazi in forum Excel General
    Replies: 1
    Last Post: 07-01-2020, 07:46 PM
  3. Replies: 3
    Last Post: 03-19-2020, 01:56 PM
  4. Macro to filter specific range from specific sheet to another with unique values
    By JEAN1972 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-17-2018, 03:55 PM
  5. [SOLVED] Excel 2016: Filter for specific number of characters
    By Cbird in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-24-2017, 08:11 PM
  6. Replies: 7
    Last Post: 01-24-2012, 03:36 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