+ Reply to Thread
Results 1 to 2 of 2

Conditional Formatting to color-code 1 cell based on data in another field

  1. #1
    Registered User
    Join Date
    08-05-2019
    Location
    NYC
    MS-Off Ver
    365 Pro Plus
    Posts
    1

    Conditional Formatting to color-code 1 cell based on data in another field

    I need to color-code cells in the same column based on response in another column on the same row. For example:

    If column Y = A, column B needs to show a blue background - existing condition
    If column Y = B, column B needs to show a red background - new condition
    If column Y = C, column B needs to show an orange background - new condition

    And a fourth rule:

    If column X = Yes, column A needs to show a green background - existing condition

    I'm not sure what I'm doing wrong but when I added the additional 2 color-coding conditions, my formatting went awry. Any assistance appreciated.

  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,933

    Re: Conditional Formatting to color-code 1 cell based on data in another field

    Hi, welcome to the forum

    1. Each condition (color) needs it's own rule.

    1st rule...
    =Y1="A" format fill blue
    2nd rule...
    =Y1="B" format fill RED
    etc
    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

+ 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. Conditional Formatting based on Cell color
    By kipdaballer31 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-26-2019, 09:14 PM
  2. [SOLVED] Conditional formatting based on the color of another cell.
    By jeremy.wood in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-01-2019, 04:30 PM
  3. Replies: 2
    Last Post: 09-02-2018, 01:09 PM
  4. Add conditional formatting based on color of a cell
    By dreddster in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-12-2015, 04:54 AM
  5. Replies: 5
    Last Post: 12-07-2013, 02:21 PM
  6. Replies: 5
    Last Post: 05-10-2012, 10:49 PM
  7. Conditional Formatting Based on Cell Color Help
    By gvsu141 in forum Excel General
    Replies: 1
    Last Post: 04-15-2011, 07:44 AM

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