+ Reply to Thread
Results 1 to 9 of 9

change colour of the adjacent colomuns

Hybrid View

  1. #1
    Registered User
    Join Date
    05-05-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    32

    Lightbulb change colour of the adjacent colomuns

    if cell 2 > cell1, colour changes to green, if cell 2<cell 1, changes to yellow.

  2. #2
    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: change colour of the adjacent colomuns

    Hi

    In Conditional format rules.

    1) =a2>a1 >> Color green>>ok

    2) =a2<a1 >>Color Yellow>>ok.
    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.

  3. #3
    Registered User
    Join Date
    05-05-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: change colour of the adjacent colomuns

    thankx for nice n quick reply

  4. #4
    Registered User
    Join Date
    05-05-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: change colour of the adjacent colomuns

    but, how to copy the same into down the cell, the same conditional format without doing one by one

  5. #5
    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: change colour of the adjacent colomuns

    Highlight your range(Let's say A1:A100)

    In Conditional format rules.

    1) =$a2>$a1 >> Color green>>ok

    2) =$a2<$a1 >>Color Yellow>>ok.

  6. #6
    Registered User
    Join Date
    05-05-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: change colour of the adjacent colomuns

    it says " you can not use direct reference), if select the range of the cells

  7. #7
    Registered User
    Join Date
    05-05-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: change colour of the adjacent colomuns

    look at this file.
    Attached Files Attached Files

  8. #8
    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: change colour of the adjacent colomuns

    Highlight all your range..

    Formula is.

    1) =$c2>$b2

    2) =$c2<$b2


    Is it OK, now?
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    05-05-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: change colour of the adjacent colomuns

    ok thankx..

+ 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