+ Reply to Thread
Results 1 to 6 of 6

Compare Cell value and apply the cell color

  1. #1
    Registered User
    Join Date
    07-15-2014
    Location
    London
    MS-Off Ver
    Office 2010
    Posts
    22

    Compare Cell value and apply the cell color

    Hi,

    I would appreciate help on finding a way to compare two list (List 1 & List 1) and display "Yes" or "No" but also the should reflect the color of the cell in which that value is found

    example

    List 1 List 2 Status
    1(Cell color Red) 5 Yes (This cell result should be "Yes"and should be green font color)
    2 (Cell color Green) 9 no
    3(Cell color Yellow) 0 no
    4(Cell color Red) 1 Yes (This cell result should be "Yes"and should be red font color)
    5(Cell color Green) 2
    6(Cell color Green) 8

    Hope that explains.

    Appreciate any help

    Cheers

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Compare Cell value and apply the cell color

    The YES/NO part is fairly simple, using INDEX/MATCH.

    However, excel cannot "see" colors - color is formatting, and formulas work with data, not formatting

    VBA would be needed for the color part
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    07-15-2014
    Location
    London
    MS-Off Ver
    Office 2010
    Posts
    22

    Re: Compare Cell value and apply the cell color

    @FDIBBINS - I managed to figure out the compare with VLOOKUP, but can't figure out Color ??

  4. #4
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Compare Cell value and apply the cell color

    I guess background Color & Font color can be managed with "Conditional Formatting" in this case. Can you post a sample workbook here?

  5. #5
    Registered User
    Join Date
    07-15-2014
    Location
    London
    MS-Off Ver
    Office 2010
    Posts
    22

    Re: Compare Cell value and apply the cell color

    Attached a sample file
    Attached Files Attached Files

  6. #6
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Compare Cell value and apply the cell color

    Quote Originally Posted by Funtooskool View Post
    Attached a sample file
    Hi,

    I seem to have misunderstood the requirement here, Ford was correct, you would need a Macro for this.

+ 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. Identify color cell and apply formula
    By bmbalamurali in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-05-2015, 12:17 PM
  2. [SOLVED] Cell color will be changed based on its value compare with previous cell value
    By nur2544 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-02-2013, 02:09 PM
  3. [SOLVED] Cell color change if value is = or > or < compare with previous cell
    By cityguy10005 in forum Excel General
    Replies: 8
    Last Post: 07-29-2012, 07:52 PM
  4. apply color to a cell using a formula
    By planchao in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-13-2008, 03:24 PM
  5. Replies: 3
    Last Post: 12-08-2006, 06:18 PM

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