+ Reply to Thread
Results 1 to 8 of 8

How to make multiple cells change color based on one cell's text.

  1. #1
    Registered User
    Join Date
    12-06-2015
    Location
    USA
    MS-Off Ver
    2013
    Posts
    13

    How to make multiple cells change color based on one cell's text.

    I work for a medical helicopter dispatch center and we are currently attempting to make s status dashboard of all our aircraft. When they call us to mark up they advise us they are either red, yellow, or green for weather. My plan is to place a drop-down list in a cell with the different weather statuses and if green were selected for example it would make a large area turn green. So if E32 = "green" then A1:I49 would fill in green. I've been googling and combing through forms for the past 5 hours with zero luck.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: How to make multiple cells change color based on one cell's text.

    Simple Conditional Formatting will do it for you

    https://www.ablebits.com/office-addi...ting-formulas/

    http://www.dummies.com/software/micr...-another-cell/


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    12-06-2015
    Location
    USA
    MS-Off Ver
    2013
    Posts
    13

    Re: How to make multiple cells change color based on one cell's text.

    That got me closer to where I want to be. I have attached the excel sheet to make it a little easier. In E32 there is a drop down with Green, yellow, red, and out of service. I currently have a conditional formatting rule as =A1:I49=E32. The only issue is the other cells that have text in it are not being colored in.
    Attached Files Attached Files

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: How to make multiple cells change color based on one cell's text.

    Please go through the attached file
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    12-06-2015
    Location
    USA
    MS-Off Ver
    2013
    Posts
    13

    Re: How to make multiple cells change color based on one cell's text.

    @Sixthsense I greatly appreciate your help. I've got one more issue now and after that, I believe I'll be set for this project. I've reattached my excel document. All the rules have been added and if you select a color it seems to be working fine, The problem arises when you try to switch from one color to another. If you select "green" all the cells turn green as they are supposed to however if you switch to "Yellow" the cells that have text in them will change to yellow however the cells without text stay green.
    Attached Files Attached Files

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: How to make multiple cells change color based on one cell's text.

    Select A1 to I49 and select no fill. Then make your color selection and see the result.
    Attached Images Attached Images

  7. #7
    Registered User
    Join Date
    12-06-2015
    Location
    USA
    MS-Off Ver
    2013
    Posts
    13

    Re: How to make multiple cells change color based on one cell's text.

    You are awesome! Thank you so much!

  8. #8
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: How to make multiple cells change color based on one cell's text.

    Glad you fixed it and thank for the feedback

+ 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. [SOLVED] Change a cells fill color. VBA to make another cell the same color and also changes.
    By PeteABC123 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-23-2016, 12:34 PM
  2. Replies: 7
    Last Post: 10-01-2015, 04:45 PM
  3. [SOLVED] Make cell change color and add text via BUTTON + MACRO
    By Wise_87 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-16-2015, 12:51 AM
  4. [SOLVED] Change text color of selected cells based on a text value of another cell
    By JNEWBURY2280 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-09-2014, 11:26 PM
  5. Macro to change cell text color based on darkness of cell fill color
    By cincyshirm61 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-25-2014, 12:11 PM
  6. VBA to change font color of range of cells based on text not in another cell
    By tk31271 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-30-2013, 09:36 AM
  7. change text color based on adjacent cell text color
    By matthewst in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-01-2005, 03:49 PM

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