+ Reply to Thread
Results 1 to 4 of 4

Can I use 1 conditional format to affect multiple cells based on values in others?

  1. #1
    Registered User
    Join Date
    12-14-2013
    Location
    United Kingdom
    MS-Off Ver
    Home & Student 2013
    Posts
    33

    Can I use 1 conditional format to affect multiple cells based on values in others?

    To really simplify my problem lets put in column A YES YES NO YES. In column B Mike Sarah Paul Jane.

    Is it possible to use a conditional format on cells B1:B4 to be green if cell A1:A4 = YES? So in the above example Mike, Sarah and jane would be in green text/fill but Paul would stay base colours.

    I know I could set a format for each individual B column cell, but I have a very long list. This is just a simple example of what I want to achieve.

    Edit:
    An alternative would be to have "YES" in C1 then condition format 'If A1 = $C$1 then B1 is green. If A2 =$C$1 then A2 is green, and so on.
    Last edited by Funky Gibbon; 11-20-2019 at 01:23 PM.

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Can I use 1 conditional format to affect multiple cells based on values in others?

    The Answer is yes.

    Select the range that you want the conditional format to apply.

    In your case B1 to B4

    Write your formula as if you were only writing it for the first cell in your range so

    =IF(A1="Yes",1,0)

    Excel will handle the complexities for you.
    Last edited by mehmetcik; 11-20-2019 at 01:36 PM.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    12-14-2013
    Location
    United Kingdom
    MS-Off Ver
    Home & Student 2013
    Posts
    33

    Re: Can I use 1 conditional format to affect multiple cells based on values in others?

    Thank you for the reply and whilst I am grateful for your time, it doesn't really help my problem. Maybe you took my question literally as 'Can I?'
    If I changed it to 'How do i ....?' would you be able to explain, in simple terms please.
    I'm guessing I select the 'Use a formula to determine which cells'. I've tried setting the formula in cell B1 which works fine but then how do I expand it to cover B1:B4?
    Last edited by Funky Gibbon; 11-20-2019 at 01:43 PM.

  4. #4
    Registered User
    Join Date
    12-14-2013
    Location
    United Kingdom
    MS-Off Ver
    Home & Student 2013
    Posts
    33

    Re: Can I use 1 conditional format to affect multiple cells based on values in others?

    Thank you very much. This is exactly what I wanted.

+ 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. VBA Conditional Format Cells based on multiple condition
    By nimesh29 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-19-2017, 04:39 PM
  2. Replies: 3
    Last Post: 09-28-2015, 01:45 PM
  3. [SOLVED] Conditional Format of cells based on other cell values
    By hamidxa in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-18-2015, 01:02 PM
  4. Replies: 0
    Last Post: 08-08-2014, 12:12 PM
  5. Replies: 5
    Last Post: 10-24-2013, 05:34 PM
  6. Conditional Format based on multiple cells
    By nelg001 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-25-2013, 08:57 PM
  7. Conditional Format to look in multiple cells based on another cell
    By proaction in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-29-2011, 11:02 AM

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