+ Reply to Thread
Results 1 to 5 of 5

Coloured cells based on other cell info

  1. #1
    Registered User
    Join Date
    05-18-2010
    Location
    Canberra, Australia
    MS-Off Ver
    Excel 2007
    Posts
    7

    Coloured cells based on other cell info

    Another question:

    So I have a cell (G1) which I have added a formula to say that when cell J5 equals "base-user", G1 becomes yellow (the background fill)....now I want to make it so that when J5 says "Shared", cell G1 becomes another colour (orange).

    In cell J5 i have a drop down so that you can choose either "base-user" or "shared"

    The first rule works fine so I naturally used the same procedure for the second rule....I have clicked on the cell i want to format (G1) and then gone through conditional formatting-->new rule-->Use a formula to determine...-->then in the formula space I typed: =$J$5="Shared" and then formatted for backfill colour. I made sure "Shared" was written the same.

    It hasn't worked...not sure why???

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Coloured cells based on other cell info

    double check that the formula is not surrounded by double quotes.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    05-18-2010
    Location
    Canberra, Australia
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Coloured cells based on other cell info

    yeah i've checked that.....its not.....this really has me stumped! any other ideas?

  4. #4
    Registered User
    Join Date
    05-20-2010
    Location
    Fresno, CA
    MS-Off Ver
    2003, 2010
    Posts
    58

    Re: Coloured cells based on other cell info

    When you say drop down, you're talking about a data validation list right? If so, I got it to work for me and attached the result.

    If you are using a Forms Combo Box control (drop down), you'll need to set cell J5 as the control's "Cell Link" in the "Format Control" dialog. If you are using an ActiveX Combo Box control, you'll need to set cell J5 as the control's "LinkedCell" in it's "Properties" window.

    Hope that helps...
    Attached Files Attached Files
    Thanks,
    Ryan



    A word to the wise is infuriating. - Hunter S Thompson

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Coloured cells based on other cell info

    Quote Originally Posted by Nightshift86
    any other ideas?
    Are you sure there are no leading/trailing spaces in the J5 drop down version ?

    If you select Shared - and run =J5=TRIM(J5) what is the result ?

    If needed, post a sample.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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