+ Reply to Thread
Results 1 to 3 of 3

Highlight with data validation and conditional formatting, but with optional data validati

  1. #1
    Registered User
    Join Date
    10-22-2015
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    3

    Highlight with data validation and conditional formatting, but with optional data validati

    I want to build a search function into my spreadsheet. Because my data is formatted in a way such that Excel filter will not work (won't filter by columns), I am using data validation and conditional formatting to highlight and sort.

    My spreadsheet currently has 3 lists data validation fields with the options "Yes" and "No". Each of the 3 fields is compared to different cells that will determine the highlighting according to
    Please Login or Register  to view this content.
    K2, L2, and M2 are my 3 data validation fields and D35, D63, and D82 are what's being compared with the data validation to determine highlighting.

    This currently works, but I must pick "Yes" or "No" for all the data validation fields and it will highlight the cell only if it has the exact the combination of choices.

    How can I make this so I don't have to pick a choice for all data validation fields. For example if I choose "Yes" for the first 2 fields and leave the third blank or something, it will only highlight based on what I've selected only.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Highlight with data validation and conditional formatting, but with optional data vali

    Hi, I'm struggling to understand what you're getting at.

    Please upload the workbook and then clearly explain with some notes which reference specific cells/columns and which describe what choices you are picking and what results you expect to see. It would be useful if you could filter a couple of options and manually copy and paste the results to another sheet so that we know your end goal.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    10-22-2015
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    3

    Re: Highlight with data validation and conditional formatting, but with optional data vali

    Sorry about the unclear wording for my question. I had a difficult time trying to make my problem clear.
    Another person has helped me with this problem and came to a solution.

    I needed to replace my current conditional formatting formula with this one instead.

    =AND(COUNTA($K$2:$M$2)>0,COUNTA($K$2:$M$2)=($K$2=D$35)+($L$2=D$63)+($M$2=D$82))

+ 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. Conditional Formatting or Data Validation for 1 cell based on another but limited data?
    By ExcelBeginner326 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-10-2015, 01:25 PM
  2. conditional formatting to highlight the last data
    By krazyhype19 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-20-2014, 12:47 AM
  3. Replies: 4
    Last Post: 12-10-2013, 02:27 PM
  4. Replies: 1
    Last Post: 07-25-2013, 02:26 PM
  5. [SOLVED] Highlight Row based on data on separate sheet - Macro or Conditional Formatting?
    By Richww2 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-09-2012, 06:12 PM
  6. Data Validation optional display
    By pcred in forum Excel General
    Replies: 3
    Last Post: 05-26-2012, 08:24 PM
  7. Highlight a cell with the wrong data without Conditional Formatting
    By k9mikep in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-03-2010, 01:31 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