+ Reply to Thread
Results 1 to 3 of 3

Conditionally Format eight cells based on value of first cell

  1. #1
    Forum Contributor
    Join Date
    10-03-2016
    Location
    Sydney, Australia
    MS-Off Ver
    MS 365
    Posts
    128

    Conditionally Format eight cells based on value of first cell

    Hi there,

    Not sure if this is possible, but I'd like to conditionally format eight cells in a column based on the value in the first column ("Yes" or "No").

    Basically, if I write "Yes" into a cell, the cell containing "Yes" and the seven cells below it to change colour.

    I've attached a mock-up of how it would look.

    Thanks
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    05-08-2015
    Location
    Uvalde, TX
    MS-Off Ver
    2010
    Posts
    720

    Re: Conditionally Format eight cells based on value of first cell

    Hi,

    Yes, you can use a conditioning format (CF) for this.

    This will take a series of formula's with this format:

    Please Login or Register  to view this content.
    In the CF it would be applied to this array first:

    Please Login or Register  to view this content.
    Your CF manager would look like this for the whole sheet:

    cf manager.jpg

    Each of your three sections would require a different array to be applied to.

    Attached is a version of your file showing how this works.

    Hope this makes sense and works for you.

    Cheers
    Attached Files Attached Files

  3. #3
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Conditionally Format eight cells based on value of first cell

    1. select first range: A3:E10
    2. in CF as formula use: =A$3="Yes"
    3. set colour

    do the same for other ranges, ie in CF: =A$12="Yes" and =A$21="Yes"

    repsolv.gif

+ 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. Replies: 1
    Last Post: 01-04-2017, 06:00 PM
  2. Replies: 1
    Last Post: 01-04-2017, 05:59 PM
  3. Replies: 1
    Last Post: 01-20-2016, 08:56 AM
  4. Replies: 1
    Last Post: 07-03-2014, 06:33 AM
  5. Macro to Conditionally Format Cells based on another cells value
    By Barking_Mad in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 06-07-2013, 03:05 AM
  6. Conditionally Format Row Based on Leading Cell
    By 605Scorpion in forum Excel General
    Replies: 7
    Last Post: 06-12-2010, 08:26 AM
  7. Conditionally Format Row based on Multiple Cells in Row
    By todd.debacker in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-28-2007, 03:56 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