+ Reply to Thread
Results 1 to 8 of 8

Highlight cell by selection of drop list

  1. #1
    Registered User
    Join Date
    09-28-2012
    Location
    boston
    MS-Off Ver
    Excel 2010
    Posts
    42

    Highlight cell by selection of drop list

    So if I have a drop list in column A and want to highlight certain cells on the same row depending on what was selected on the drop list, how can I do this. Do I have to code it in VBA or is there another solution?

  2. #2
    Registered User
    Join Date
    09-27-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007, 2010, 2013
    Posts
    11

    Re: Highlight cell by selection of drop list

    Use conditional formatting.
    Stefan Kemp
    Excel Developers Ltd

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Highlight cell by selection of drop list

    How many options could you have in validation list?
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Registered User
    Join Date
    09-28-2012
    Location
    boston
    MS-Off Ver
    Excel 2010
    Posts
    42

    Re: Highlight cell by selection of drop list

    I have about 15 different?

  5. #5
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Highlight cell by selection of drop list

    It might mean having a lot of different rules. It depends upon your data and what exactly you want to have highlighted. Can you post a workbook with representative data so that we can have a go at it?
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Highlight cell by selection of drop list

    Then you can use CF.

    Somrthing like this.

    Let's say that your validation list is in A1 and includes the numbers from 1 to 15.

    You can use in CF rules something like this.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    And choose a color.

    Then when A1=1 or 5 or 12, the range that you have choosen will fill with color.

    How can you use Conditional Formating.

    --In Excel 2007 and 2010, Conditional Formatting is in the Styles group on the Home tab. In Excel 2003, Conditional Formatting is on the Format menu. See here how you can work using CF.

  7. #7
    Registered User
    Join Date
    09-28-2012
    Location
    boston
    MS-Off Ver
    Excel 2010
    Posts
    42

    Re: Highlight cell by selection of drop list

    So now my boss changed the spreadsheet for the day care. Now cell A1 has a drop list "BOY, GIRL" and cell B2 has the ages "0,1,2,3,4,5,6,7,8,9,". Selecting the gender in A1 and then the age in in B2 will then highlight a certain cell in the same row. How can I do this. Is it still possible with a conditional formatting formula?
    Last edited by nikko50; 01-21-2014 at 06:24 PM.

  8. #8
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Highlight cell by selection of drop list

    Select the cell that you want formatted.

    Conditional Formatting, New Rule, Use Formula.

    =AND(A1="BOY",B2=the age) choose the formatting you want.

+ 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. [SOLVED] Selection in a drop down list to highlight corresponding row
    By Hughbie in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-07-2013, 04:01 PM
  2. Move to cell after selection from drop-down list
    By Ray316 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-25-2011, 10:38 PM
  3. Drop Down List Selection Changes other Cell
    By i-need-help in forum Excel General
    Replies: 14
    Last Post: 08-26-2010, 12:27 PM
  4. Highlight row on drop down selection
    By aod in forum Excel General
    Replies: 8
    Last Post: 07-09-2008, 11:42 AM
  5. Selection of Drop down list that allows you to go to a particular cell
    By Daphne in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-14-2006, 05:00 AM

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