+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    03-04-2010
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    3

    Conditional Formatting

    I want to be able to highlight certain cells in a row when a particular input is entered at the beginning of the row.

    For example the input choices are;

    Left
    Right
    Up
    Down

    These could be in any order and multiples of inputs down column A.

    If for example 'Right' is entered in cell A2, I would like cells C2:F2 & H2:X2 to be highlighted. BUT equally, I would also like to enter 'Up' in cell A2 and have B2:G2 & P2:S2 highlighted.

    I can't seem to get the flexibility of being able to enter any value in Column A and get the corresponding cells highlighted without having to enter 4 formulas in ever cell doen column A - which are a lot of.

  2. #2
    Forum Guru rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: Conditional Formatting

    It seems that you would like to have certain ranges highlighted dependant apon the value in A2.

    This is possible with Conditional formatting, but please define:
    Left, range ... is highlighted
    Right, range ... is highlighted
    Up, range ... is highlighted
    Down, range ... is highlighted
    Looking for great solutions but hate waiting?
    Seach this Forum through Google

    www.Google.com
    (e.g. +multiple +IF site:excelforum.com/excel-general/ )

    www.Google.com
    (e.g. +fill +combobox site:excelforum.com/excel-programming/ )

    Ave,
    Ricardo

  3. #3
    Registered User
    Join Date
    03-04-2010
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Conditional Formatting

    Left - I2:N2 & P2:Y2 & AF2:AI2
    Right - C2:F2 & H2:X2
    Up - AA2:AD2
    Down - I2:N2 & AF2:AI2

    Each of these inputs is a choice for a single cell (A2). But I would also like to enter any of these inputs in any cell range A2:A100 and get the appropriate cells highlighted in that row.

  4. #4
    Forum Guru rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: Conditional Formatting

    Do these steps:
    Select I2:N100 & AF2:AI100
    Condition formatting =OR($A2="Left",$A2="Down")

    Select C2:F100 & H2:X100
    CF =$A2="Right"

    Select AA2:AD100
    CF =$A2="Up"
    Last edited by rwgrietveld; 03-04-2010 at 07:25 AM.
    Looking for great solutions but hate waiting?
    Seach this Forum through Google

    www.Google.com
    (e.g. +multiple +IF site:excelforum.com/excel-general/ )

    www.Google.com
    (e.g. +fill +combobox site:excelforum.com/excel-programming/ )

    Ave,
    Ricardo

  5. #5
    Registered User
    Join Date
    03-04-2010
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Conditional Formatting

    Thank you very much. My mistake was that I wasnt highlighting the fields where I wanted to apply the formatting to. I'm glad I came on here.

Thread Information

Users Browsing this Thread

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

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.2.0