+ Reply to Thread
Results 1 to 2 of 2

Format Cell fill based on contents of multiple other cells

  1. #1
    Registered User
    Join Date
    11-25-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    99

    Question Format Cell fill based on contents of multiple other cells

    I need to be able to change the fill color of several cells based on the values of multiple individual cells.

    See attached example for a better explanation.

    Thanks
    Attached Files Attached Files
    Last edited by nsmjc; 12-09-2013 at 03:16 AM.

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Format Cell fill based on contents of multiple other cells

    welcome to the forum, nsmjc. you could select the range you want to apply to (say from E4:G8)
    go to Home -> Conditional Formatting -> New Rule -> Use a formula to determine which cells to format -> Format values where this formula is true:

    =COUNTIF($A$4:$C$6,"NRT")+COUNTIFS($A$4:$C$6,">=1",$A$4:$C$6,"<=3")

    Edit:
    if any of the cells contain 0,4-7 or N/O makes it white, then maybe:
    =COUNTIF($A$4:$C$6,"N/O")+COUNTIF($A$4:$C$6,0)+COUNTIFS($A$4:$C$6,">=4",$A$4:$C$6,"<=7")=0
    Last edited by benishiryo; 12-09-2013 at 03:11 AM. Reason: additional info

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

+ 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: 0
    Last Post: 08-29-2013, 10:47 AM
  2. [SOLVED] Combine Cell Contents to with a [return] or [fill with spaces] between each cells contents
    By jordan2322 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-16-2012, 11:24 PM
  3. 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
  4. Auto Fill Cell Contents (L to R) Based on Single Cell
    By afret200 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-13-2010, 03:51 PM
  5. Fill cells with different colors based on different cell contents
    By mdeibel in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-25-2010, 10:09 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