+ Reply to Thread
Results 1 to 2 of 2

if/and & conditional formatting

  1. #1
    Registered User
    Join Date
    11-09-2011
    Location
    Minneapolis, Minnesota
    MS-Off Ver
    Excel 2010
    Posts
    2

    if/and & conditional formatting

    Let me see if I can explain this. I need my cell(B6) to do different things depending on a series of questions. If B5 contains "double roll" AND B6 is less than 12 then it needs to turn red, but if B5 contains "double roll" and B6 is 12 or more than it needs to turn green. I don't know how to do this with the =IF(AND) function AND conditional formatting. Please help!!!

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

    Re: if/and & conditional formatting

    Select the cell(s) to format and go to Home|Conditional Formatting| New Rule

    select "use a formula to determine which cells to format" and enter formula:

    =AND($B5="double roll",$B6<12)

    click Format and choose from Fill tab.

    Click Ok.

    Click New Rule and repeat above with formula:

    =AND($B5="double roll",$B6>=12) and choose from Fill tab.

    c
    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.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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