+ Reply to Thread
Results 1 to 4 of 4

Changing color of a row based off two values

  1. #1
    Registered User
    Join Date
    02-12-2014
    Location
    nowhere
    MS-Off Ver
    Excel 2013
    Posts
    2

    Changing color of a row based off two values

    I don't even know if what I want to do is possible...


    A > B > C > got it? > need it?

    If got it and need it are "yes" then I want a b and c to be green
    If got it is "yes" and need it is "no" then I want a b and c to be purple
    If got it is "no" and need it is "yes" then I want a b and c to be blue
    If got it and need it are "no" then I want a b and c to be red.

    I saw an older post but that only colors the first box... Also if I make another rule then it just seems to cancel the other one out.. More than likely I am doing something wrong or what I am trying to do is not possible and help will be appreciated.

    thanks

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,863

    Re: Changing color of a row based off two values

    Frank advice after http://www.excelforum.com/forum-rule...rum-rules.html :
    Ensure your question is not too vague. Don't assume anyone is familiar with your problem. While you can upload small attachments, describe your problem in the body of the post. We are fortunate to have several Excel gurus, but few mind-readers.
    ...
    Post a WORKBOOK. Nobody wants to type data from a picture or paste text from your post into a spreadsheet as a prelude to helping. To attach a file, push the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.
    And personal add-in present few cases of data sets and "manualy obtained" desired result.

    And now ... what my magic mirror says ;-) :

    I can see that all you need is ... love. Yes, always, but in this case ... conditional formatting, but not standard one, but with rules based on formulas.
    Best Regards,

    Kaper

  3. #3
    Forum Expert
    Join Date
    06-26-2010
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    1,673

    Re: Changing color of a row based off two values

    if I make another rule then it just seems to cancel the other one out
    This implies, to me, that you are using conditional formatting with some rules, but you just can't figure out the formula to use. I'm thinking that you are not using the AND function. It would be something like this:
    =AND(got_it="yes",need_it="yes")
    if that is true, then your format would be green. Similar rules for the other permutations.
    Pauley
    --------
    If I helped with your issue, I'd appreciate a rep bump (hit the '*' icon to the bottom left of this post).

  4. #4
    Registered User
    Join Date
    02-12-2014
    Location
    nowhere
    MS-Off Ver
    Excel 2013
    Posts
    2

    Re: Changing color of a row based off two values

    Quote Originally Posted by Pauleyb View Post
    This implies, to me, that you are using conditional formatting with some rules, but you just can't figure out the formula to use. I'm thinking that you are not using the AND function. It would be something like this:
    =AND(got_it="yes",need_it="yes")
    if that is true, then your format would be green. Similar rules for the other permutations.
    Thanks, I was entering it in wrong got it to work now .

+ 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] Changing color based on set of predetermined values
    By oddLogic in forum Excel General
    Replies: 8
    Last Post: 10-05-2013, 05:49 PM
  2. [SOLVED] changing cell values of a column based on its background color
    By liderplaza in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-17-2012, 11:08 AM
  3. Changing bar color and height based on values
    By mcp3 in forum Excel General
    Replies: 0
    Last Post: 04-05-2012, 04:22 PM
  4. changing cell color based on changing values
    By tvonbehren in forum Excel General
    Replies: 2
    Last Post: 09-16-2009, 12:33 PM
  5. macro: changing color of coloumn header based on rows color
    By rajaid in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-22-2009, 06:43 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