+ Reply to Thread
Results 1 to 5 of 5

Highlight alternate unique values in a filtered column

  1. #1
    Registered User
    Join Date
    12-29-2016
    Location
    United State
    MS-Off Ver
    O365
    Posts
    36

    Post Highlight alternate unique values in a filtered column

    Hello everybody,

    I have a (True & False) helper in column G4:G26 to apply a conditional formatting rule that highlight alternate unique values on data A4:E26. But is does not correctly highlight alternate unique values after applying a filter in column E (after deselect zeros). The headers are in row 3

    True False Formula in G4 (Typed "FALSE" in G3)
    =IF(A4=A3,G3,NOT(G3))

    Conditional Formatting Formula
    =$G4

    Any ideas of how to make this work after filtering the data ? Also attached is a sample data to better display the situation.

    Thanks.
    Attached Files Attached Files

  2. #2
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Highlight alternate unique values in a filtered column

    Try this in G4 and drag down...

    =IF(E4=0,IF(A4=A3,G3,FALSE),IF(A4=A3,NOT(G3),TRUE))

  3. #3
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: Highlight alternate unique values in a filtered column

    if I've understood, one option might be:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    above assumes you may choose to filter by one or more fields at any point in time, and that the banding should alternate relative to visible values in Col A at all times

  4. #4
    Registered User
    Join Date
    12-29-2016
    Location
    United State
    MS-Off Ver
    O365
    Posts
    36

    Re: Highlight alternate unique values in a filtered column

    Croweater - The formula provided does not highlight unique values in column A and I think is because is tied to the zeros in column E. It should allow for any other filtered amount.

    XLent - It worked perfectly and both ways with and without filtering data.

    Really appreciate both for your help!

  5. #5
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Highlight alternate unique values in a filtered column

    I thought it had to highlight ALTERNATE values in column A, AFTER you had filtered all the zeros out. So if 3 tasks in a project had non zero unpaid amounts, then you highlight the first and third.

    Oh well, you win some you lose some. Glad the other solution worked for you.
    Last edited by Croweater; 09-15-2020 at 07:34 PM.

+ 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. Extract unique values from filtered column
    By Journeyman3000 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-13-2020, 09:38 PM
  2. Extracting unique values from filtered column to array
    By Journeyman3000 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-13-2020, 03:22 AM
  3. Copy and Paste Filtered Excel Column, Only Unique Values
    By EnigmaMatter in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-09-2017, 03:36 PM
  4. Count unique, visible values in a filtered column
    By kajakk in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-07-2013, 08:42 AM
  5. count unique values in filtered column
    By mcdermott2 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-09-2013, 10:40 AM
  6. Needa a formulat to count unique values in a filtered column
    By rabustam04 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 11-27-2012, 01:13 PM
  7. Count Unique Values in a Filtered Column
    By mashley in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-30-2008, 10:56 AM

Tags for this Thread

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