Results 1 to 10 of 10
  1. #1
    3 Star Lounger
    Join Date
    Jan 2007
    Location
    Massachusetts, USA
    Posts
    249
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Hello,

    Does anyone know if it is possible to filter by color in Microsoft Excel 2003?

    I am looking to filter in an MS Excel 2003 spreadsheet without having to download special plugins.

    I want to keep it as simple as possible, so that the end user selects the appropriate color, based on
    the user's current status.

    Thanks in advance.

    -J

  2. Subscribe to our Windows Secrets Newsletter - It's Free!

    Get our unique weekly Newsletter with tips and techniques, how to's and critical updates on Windows 7, Windows 8, Windows XP, Firefox, Internet Explorer, Google, etc. Join our 480,000 subscribers!

    Excel 2013: The Missing Manual

    + Get this BONUS — free!

    Get the most of Excel! Learn about new features, basics of creating a new spreadsheet and using the infamous Ribbon in the first chapter of Excel 2013: The Missing Manual - Subscribe and download Chapter 1 for free!

  3. #2
    Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    5,901
    Thanks
    190
    Thanked 719 Times in 655 Posts
    James,

    This was a tough one but the attached sheet has a possible answer. There is VBA code to create a user defined function to match the colors.
    You provide the desired color in Cell A1 {Named: FindColor} and the values {via a user defined function - the VBA} in column C will change to True/False you can then filter on this column.
    For you users you can hide the column with the True/False values but include it in your filter criteria, I'm assuming that you are building the filter with code, otherwise you'll have to leave it viewable.

    I hope this helps.

    RG
    Attached Files Attached Files
    May the Forces of good computing be with you!

    RG

    VBA Rules!

    My Systems: Desktop Specs
    Laptop Specs


  4. #3
    5 Star Lounger
    Join Date
    Dec 2009
    Location
    East Coast, USA
    Posts
    993
    Thanks
    8
    Thanked 43 Times in 43 Posts
    Hi James -
    1) How many colors are you using?
    2) Is it one color per user?
    3) How is coloring determined?
    4) What variables determine the color?
    5) You may be able to use an Advanced Filter.
    6) It would really help if you attach a sample spreadsheet with non-propriety data?
    7) Are you using Conditional Formatting to get your colors?

    Tim

  5. #4
    3 Star Lounger
    Join Date
    Jan 2007
    Location
    Massachusetts, USA
    Posts
    249
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Hi guys,

    Sorry for the delay in responding.
    Currently, I am using three colors (see screen shot). The idea is that one user can mark the cell with a certain status (based on color)
    and then user can filter (sort) by all the reds, yellows or greens - to get an up-to-date number count.

    I am trying to do everything in Excel and am trying to avoid having to go through a lot of key strokes (e.g.selecting several drop downs just to choose and run a Macro).

    As always, your suggestions are appreciated.

    Regards,

    Jim
    Attached Images Attached Images

  6. #5
    Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    5,901
    Thanks
    190
    Thanked 719 Times in 655 Posts
    James,

    Here's a modification of my original answer that does both checks on the Font & Fill Colors and adds a dropdown box for selection. However, I don't know of a way to get the colors to display in the dropdown, sorry.

    The VBA routines in this file are "User Defined Functions". As such, you don't run them. Whenever the sheet is recalculated they will automatically recalculate just like the Excel built-in functions.

    RG
    Attached Files Attached Files
    May the Forces of good computing be with you!

    RG

    VBA Rules!

    My Systems: Desktop Specs
    Laptop Specs


  7. #6
    3 Star Lounger
    Join Date
    Jan 2007
    Location
    Massachusetts, USA
    Posts
    249
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Hello RG,

    Thanks for the source XLS file and your time. I really appreciate it.

    Regards,

    Jim

  8. #7
    Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    5,901
    Thanks
    190
    Thanked 719 Times in 655 Posts
    Jim,

    You're welcome.

    BTW: I just had a thought and tested it out, you can use conditional formatting it the example I provided to have the dropdown cell displayed with the background color of the value selected. I know you wanted the colors in the dropdown but this may be the best you can do.

    RG
    May the Forces of good computing be with you!

    RG

    VBA Rules!

    My Systems: Desktop Specs
    Laptop Specs


  9. #8
    5 Star Lounger
    Join Date
    Apr 2001
    Location
    Arriving Somewhere but not Here
    Posts
    698
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Search Chip Pearson's web site, he has lots of stuff on working with colour.

    stuck

  10. #9
    WS Lounge VIP rory's Avatar
    Join Date
    Dec 2000
    Location
    Burwash, East Sussex, United Kingdom
    Posts
    5,870
    Thanks
    0
    Thanked 79 Times in 75 Posts
    My first suggestion would be to not use just colours. If you add status codes to your dropdown, then you can use conditional formatting to add the colours, but still filter on the actual values using the built-in filter functions.
    Regards,
    Rory
    Microsoft MVP - Excel.

  11. #10
    New Lounger
    Join Date
    Dec 2009
    Location
    Jerusalem, ISRAEL
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I use ASAP utilities in Excel and find it very useful . See http://www.asap-utilities.com/ Mervyn Doobov

Posting Permissions

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