+ Reply to Thread
Results 1 to 24 of 24

Filter colored lines of data

  1. #1
    Forum Contributor tax112's Avatar
    Join Date
    02-28-2013
    Location
    Thailand
    MS-Off Ver
    Excel 2016 | 2019
    Posts
    438

    Filter colored lines of data

    I have a spreadsheet and need to filter colored lines.
    Can someone help me.
    Thank you.
    Attached Files Attached Files

  2. #2
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,211

    Re: Filter colored lines of data

    Perhaps this...
    Please Login or Register  to view this content.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  3. #3
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Filter colored lines of data

    For 2003 you cannot filter by colour, so you would most likely require a looping macro.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  4. #4
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,211

    Re: Filter colored lines of data

    Oops did not see version being used...Tx xlnitwit

    Edited...
    This then?
    Please Login or Register  to view this content.
    Last edited by sintek; 07-13-2017 at 05:35 AM.

  5. #5
    Forum Contributor tax112's Avatar
    Join Date
    02-28-2013
    Location
    Thailand
    MS-Off Ver
    Excel 2016 | 2019
    Posts
    438

    Re: Filter colored lines of data

    Quote Originally Posted by sintek View Post
    Oops did not see version being used...Tx xlnitwit

    Edited...
    This then?
    Please Login or Register  to view this content.
    Yes, I want to ask more
    In the case of filtering the data stream but not color then Code vba?
    Thank you

  6. #6
    Forum Contributor tax112's Avatar
    Join Date
    02-28-2013
    Location
    Thailand
    MS-Off Ver
    Excel 2016 | 2019
    Posts
    438

    Re: Filter colored lines of data

    Quote Originally Posted by xlnitwit View Post
    For 2003 you cannot filter by colour, so you would most likely require a looping macro.
    That's right. Thank you.

  7. #7
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,211

    Re: Filter colored lines of data

    filtering the data stream
    Meaning....?

  8. #8
    Forum Contributor tax112's Avatar
    Join Date
    02-28-2013
    Location
    Thailand
    MS-Off Ver
    Excel 2016 | 2019
    Posts
    438

    Re: Filter colored lines of data

    Quote Originally Posted by sintek View Post
    Meaning....?
    That is, get the lines whose numbers in Colored Column B.
    But in case of no color, how to filter?
    For example: Create Array number

  9. #9
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,211

    Re: Filter colored lines of data

    Not sure why you don't just hide rows...Anyway try this via array filter...
    Please Login or Register  to view this content.

  10. #10
    Forum Contributor tax112's Avatar
    Join Date
    02-28-2013
    Location
    Thailand
    MS-Off Ver
    Excel 2016 | 2019
    Posts
    438

    Re: Filter colored lines of data

    Quote Originally Posted by sintek View Post
    Not sure why you don't just hide rows...Anyway try this via array filter...
    Please Login or Register  to view this content.
    Thank you for your help.
    But my idea is to filter lines that have values:
    78912
    12313
    45616
    78936
    22233
    78933
    21567
    Note: Do not color the numbers

  11. #11
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,211

    Re: Filter colored lines of data

    Filter colored lines of data
    I have a spreadsheet and need to filter colored lines.
    Can someone help me.
    Thank you.
    Both solutions do this.....
    Note: Do not color the numbers
    So are you not wanting the colored cells filtered anymore?
    Are you not gonna have colored cells in your workbook anymore?
    If you just want the rows with those specific numbers filtered then declare an array with just those values and filter accordingly....

  12. #12
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Filter colored lines of data

    Maybe:

    Please Login or Register  to view this content.

  13. #13
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,211

    Re: Filter colored lines of data

    Or perhaps....
    Please Login or Register  to view this content.

  14. #14
    Forum Contributor tax112's Avatar
    Join Date
    02-28-2013
    Location
    Thailand
    MS-Off Ver
    Excel 2016 | 2019
    Posts
    438

    Re: Filter colored lines of data

    Quote Originally Posted by JOHN H. DAVIS View Post
    Maybe:

    Please Login or Register  to view this content.
    Thank you JOHN H. DAVIS.
    Exactly.

  15. #15
    Forum Contributor tax112's Avatar
    Join Date
    02-28-2013
    Location
    Thailand
    MS-Off Ver
    Excel 2016 | 2019
    Posts
    438

    Re: Filter colored lines of data

    Quote Originally Posted by sintek View Post
    Or perhaps....
    Please Login or Register  to view this content.
    Thank you.

  16. #16
    Forum Contributor tax112's Avatar
    Join Date
    02-28-2013
    Location
    Thailand
    MS-Off Ver
    Excel 2016 | 2019
    Posts
    438

    Re: Filter colored lines of data

    Quote Originally Posted by JOHN H. DAVIS View Post
    Maybe:

    Please Login or Register  to view this content.
    In general case, I want to filter lines with numbers:
    789 *
    123 *
    456 *
    222 *
    215 *
    How to fix vba Code.
    Can I help me.Thank you

  17. #17
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,211

    Re: Filter colored lines of data

    Thank you JOHN H. DAVIS.
    Exactly.
    @ tax112
    Please help me understand what you wanted to achieve cause when I run code from post 12 it hides all rows...?
    Am I missing something?

  18. #18
    Forum Contributor tax112's Avatar
    Join Date
    02-28-2013
    Location
    Thailand
    MS-Off Ver
    Excel 2016 | 2019
    Posts
    438

    Re: Filter colored lines of data

    Quote Originally Posted by sintek View Post
    @ tax112
    Please help me understand what you wanted to achieve cause when I run code from post 12 it hides all rows...?
    Am I missing something?
    Code post #12, change:
    PHP Code: 
    Select Case Cells(i"A"
    to
    PHP Code: 
    Select Case Cells(i"B"
    is exactly

  19. #19
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,211

    Re: Filter colored lines of data

    Oh nice catch...thanks for explanation.....Anyway don't think one can store more than 2 wildcards in an array to filter....Still don't understand the Case Function that well...This works for wildcard...

    Please Login or Register  to view this content.

  20. #20
    Forum Contributor tax112's Avatar
    Join Date
    02-28-2013
    Location
    Thailand
    MS-Off Ver
    Excel 2016 | 2019
    Posts
    438

    Re: Filter colored lines of data

    Quote Originally Posted by sintek View Post
    Oh nice catch...thanks for explanation.....Anyway don't think one can store more than 2 wildcards in an array to filter....Still don't understand the Case Function that well...This works for wildcard...

    Please Login or Register  to view this content.
    That's right, it's that simple, and you can not think of it.
    Thank you very much.
    Thank you for your enthusiasm.

  21. #21
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,211

    Re: Filter colored lines of data

    That's right, it's that simple, and you can not think of it.
    Hey...play nice....Busy with multiple problem solving...very easy to overlook a col

  22. #22
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Filter colored lines of data

    FWIW:

    Please Login or Register  to view this content.

  23. #23
    Forum Contributor tax112's Avatar
    Join Date
    02-28-2013
    Location
    Thailand
    MS-Off Ver
    Excel 2016 | 2019
    Posts
    438

    Re: Filter colored lines of data

    Quote Originally Posted by JOHN H. DAVIS View Post
    FWIW:

    Please Login or Register  to view this content.
    Thank you very much.

  24. #24
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Filter colored lines of data

    You're welcome. Glad to help out and thanks for the feedback.

+ 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. Replies: 0
    Last Post: 07-13-2015, 01:19 AM
  2. [SOLVED] Filter out non-colored cells
    By jomili in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-27-2015, 01:29 PM
  3. Is there a formula to filter for more than one colored cell?
    By jam320 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-01-2014, 02:27 PM
  4. [SOLVED] filter for different sets of colored data
    By jolenec in forum Excel General
    Replies: 5
    Last Post: 03-14-2014, 08:57 PM
  5. Replies: 4
    Last Post: 11-27-2012, 06:49 AM
  6. [SOLVED] filter data in the table which has blank lines
    By marreco in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-06-2012, 06:40 AM
  7. How to automatically filter can filter and blue-colored cells
    By ersoyalanprovus in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-21-2009, 01:20 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