+ Reply to Thread
Results 1 to 4 of 4

EXCEL NEWB.....Change cell color based on text in a cell on another sheet

  1. #1
    Registered User
    Join Date
    09-26-2014
    Location
    USA
    MS-Off Ver
    Mac 2011
    Posts
    2

    EXCEL NEWB.....Change cell color based on text in a cell on another sheet

    Hi everyone. I'm an absolute newb when it comes to trying to use excel for things, but i figured this would be a good place to start. What I need to do is change the color of a cell between red and green based on a cells text on another sheet. Attached is the specific workbook I'm trying to do this on. I want to change cell B2 on PID Tags 1-6 to green if the value in cell H7 on PID List Page 1 equals either "CBV" or "EB". At the same time if the H7 cell equals "ZE" I want to make it filled red. I have read all the instructions for it and I guess I just can't get it. I am using Excel for Mac 2011 if that makes a difference. Thanks in advance for any help. And if possible give me a dumbed down version of how to do it.

    Example Sheet.xlsx
    Last edited by anon1988; 09-26-2014 at 05:57 PM.

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

    Re: EXCEL NEWB.....Change cell color based on text in a cell on another sheet

    Hi, welcome to the forum

    I dont use mac, so Im not sure if this is the issue or not. you can only directly feference another worksheet using Conditional Formatting, from vesion 2010 onwards. 1 way to text this is to use this formula directly in CF...and it it doesnt work, try option 2.

    As a start, if your cells will only ever be green or red, use regular formatting to make the cell GREEN and then change that with CF to red.

    Option 1...
    =OR('PID List Page 1'!H7="CBV",'PID List Page 1'!H7="EB")

    Option 2
    In a cell on PID Tags, reference back to ='PID List Page 1'!H7 (you can hide this if you want)
    then the CF formula changes to...
    =OR(B1="CBV",B1="EB")
    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

  3. #3
    Registered User
    Join Date
    09-26-2014
    Location
    USA
    MS-Off Ver
    Mac 2011
    Posts
    2

    Re: EXCEL NEWB.....Change cell color based on text in a cell on another sheet

    What can I say to that. Thank you very much for dumbing it down for me. Definitely alot easier the way you explained it. Thank you so much for your help. Star has been given and thread solved.

  4. #4
    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,938

    Re: EXCEL NEWB.....Change cell color based on text in a cell on another sheet

    Thank you so much for the kind words and feedback (despite my really bad typing and spelling lol), always appreciated

+ 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. 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
  2. [SOLVED] Change Tab color based on text in a cell
    By Gcorn38055 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-08-2013, 11:22 AM
  3. Replies: 5
    Last Post: 01-31-2013, 11:25 PM
  4. Replies: 3
    Last Post: 12-16-2012, 12:49 PM
  5. 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