+ Reply to Thread
Results 1 to 2 of 2

highlight selection based on dropdown selection and value in answer column

  1. #1
    Forum Contributor
    Join Date
    12-14-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    136

    highlight selection based on dropdown selection and value in answer column

    I would like to highlight cells based on 2 criteria. First I need to select a product from the dropdown menu, second I need to reference a value based on the selection from the drop down menu. For example If I select "Apple" from the drop down menu it would use the "10" value to check the answer column and either change the background green if => 10 or red if < 10. Each product has a different value. Any help would be greatful. I have attached a sample workbook to help out.
    Attached Files Attached Files

  2. #2
    Forum Guru tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: highlight selection based on dropdown selection and value in answer column

    madhatter40,

    Attached is a modified version of the workbook you posted.
    I made a named range for the table you setup on sheet2 named tblProductValues
    For the drop-down list in cell F2, I used this data validation list formula:
    Please Login or Register  to view this content.
    Then I added two conditional formats to the Average (Answer) values in column C.
    To highlight red for when average is < selected product value:
    Please Login or Register  to view this content.
    To highlight green for when average is >= selected product value:
    Please Login or Register  to view this content.
    Since the only selected item that has a value >= 10 is "Apple", that is the only selection that will show green. If you select a different product, the Average will be highlighted red. Does that work for you?
    Attached Files Attached Files
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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