+ Reply to Thread
Results 1 to 6 of 6

Want to apply conditional formatting

  1. #1
    Registered User
    Join Date
    03-06-2009
    Location
    Dhaka, Bangladesh
    MS-Off Ver
    Excel 2007
    Posts
    51

    Want to apply conditional formatting

    Hi,

    If A2 contain value less than 20, then value in B2 should be red colored.

    Example:
    A2 B2
    19 book 20%
    Can anyone help me to know how to get it done.

    Thx
    Tuhin

  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: Want to apply conditional formatting

    Hi

    Use Conditional formatting for this.

    In Conditional Formatting rules put this.

    =AND($A2<>"",$A2<20 >>Choose red color>>OK.
    Last edited by Fotis1991; 07-04-2012 at 03:17 AM.
    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
    04-13-2012
    Location
    Leeds, UK
    MS-Off Ver
    Excel 2007
    Posts
    46

    Re: Want to apply conditional formatting

    Select B2 to apply the Conditional Format.

    Conditional Formatting > New Rule

    Select 'Use a formula to determine which cells to format'

    In 'Format values where this formula is true' enter:

    =$A$2<20

    Choose your required format and confirm all dialog boxes.

  4. #4
    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: Want to apply conditional formatting

    @ GazP

    This will highlight cells, even if these are empties

  5. #5
    Registered User
    Join Date
    03-06-2009
    Location
    Dhaka, Bangladesh
    MS-Off Ver
    Excel 2007
    Posts
    51

    Re: Want to apply conditional formatting

    I salute both of you. It is working !

    Thank you so much

    By the way, if I want to apply whole column, then?

    Example:
    A B
    10 40%
    25 10%
    19 10%
    Last edited by mshtuhin; 07-04-2012 at 05:18 AM.

  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: Want to apply conditional formatting

    Just change your range
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    03-06-2009
    Location
    Dhaka, Bangladesh
    MS-Off Ver
    Excel 2007
    Posts
    51

    Re: Want to apply conditional formatting

    Thanks so much Boss :-)

    brgds/Tuhin

+ 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