+ Reply to Thread
Results 1 to 6 of 6

Change the cell color for a certain value

  1. #1
    Registered User
    Join Date
    09-23-2012
    Location
    Mumbai
    MS-Off Ver
    Excel 2010
    Posts
    61

    Change the cell color for a certain value

    In Sheet One I have the following names
    NAME
    John
    Agnes
    Peter
    Susan
    Gloria
    Steve

    In Sheet Two I have same names with different values as seen below. Now, I want to change the cell color to RED in Sheet One for the names with negative values in Sheet Two.

    John -2
    Agnes 20
    Peter 48
    Susan -15
    Gloria 34
    Steve -30

  2. #2
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Change the cell color for a certain value

    See the attached
    Attached Files Attached Files
    Gary's Student

  3. #3
    Registered User
    Join Date
    09-23-2012
    Location
    Mumbai
    MS-Off Ver
    Excel 2010
    Posts
    61

    Re: Change the cell color for a certain value

    Thanks Jakob,

    Your formula/rule under conditional formatting is looking up for TBL reference? But the data in sheet 2 is not a Table property.

    I tried to create my sheet two data as table and gave its reference in Sheet one under conditional formatting rule, but it doesn't accept it.

    How did you do it?

  4. #4
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Change the cell color for a certain value

    TBL is not a Table, it is a Defined Name.

    I hi-lighted the two columns and then assigned the Name using Define Name... in the Formula Tab

  5. #5
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Change the cell color for a certain value

    TBL is not a Table, it is a Defined Name.

    I hi-lighted the two columns and then assigned the Name using Define Name... in the Formula Tab

  6. #6
    Registered User
    Join Date
    09-23-2012
    Location
    Mumbai
    MS-Off Ver
    Excel 2010
    Posts
    61

    Re: Change the cell color for a certain value

    Yes! Thanks a lot... Jakob!!! You are fabulous :D

+ Reply to Thread

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.6.0 RC 1