+ Reply to Thread
Results 1 to 5 of 5

Conditional Formatting - 2 rules in 1

  1. #1
    Registered User
    Join Date
    08-19-2012
    Location
    Alaska
    MS-Off Ver
    Excel 2013
    Posts
    43

    Conditional Formatting - 2 rules in 1

    Hello!

    So; spreadsheet of clients. Column A = client, Column B = spouse or S.O. Obviously, not all clients will have a spouse/S.O. I would like the B Cells to be filled with a color ONLY IF there is a name in Column A and NO name in Column B.

    I have tried Conditional Formatting rules using a formula: =IF(AND(A2>0,B2=0)) and =IF(AND(A2>0,B2=0),B2,0) and =IF(AND(A2>0,B2=0),"single",0) -- I've also tried these with "" or " " instead of 0.

    I've also tried two separate rules -- A2>0 then B2=O. The cell stays color-filled even when a name is entered in the B Cell.

    I am missing something. Probably something just too obvious (could be 10 AM is still too early for me).

    Thanks!

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Conditional Formatting - 2 rules in 1

    Try

    =AND(A2<>"",B2="")

  3. #3
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Conditional Formatting - 2 rules in 1

    How about:

    Please Login or Register  to view this content.
    Cheers,
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  4. #4
    Registered User
    Join Date
    08-19-2012
    Location
    Alaska
    MS-Off Ver
    Excel 2013
    Posts
    43

    Re: Conditional Formatting - 2 rules in 1

    You both Rock! TY!

  5. #5
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Conditional Formatting - 2 rules in 1

    You're welcome.

+ 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. Conditional Formatting two rules
    By pauldaddyadams in forum Excel General
    Replies: 1
    Last Post: 11-21-2014, 11:15 AM
  2. [SOLVED] Conditional Formatting Rules
    By GoGoeGo in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-10-2014, 01:48 PM
  3. Conditional formatting rules
    By puzzlelover22 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-01-2014, 12:45 PM
  4. conditional formatting rules for a cell on sheet 1 based on rules from sheet 2
    By jsard in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 1
    Last Post: 08-15-2013, 09:22 AM
  5. What new rules do I need for Conditional Formatting?
    By ypurcaro in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-12-2013, 04:30 AM
  6. [SOLVED] Conditional Formatting Rules Help
    By PCAg in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-11-2012, 05:33 PM
  7. Conditional Formatting with rules
    By howcroc in forum Excel General
    Replies: 6
    Last Post: 02-04-2011, 12:01 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