+ Reply to Thread
Results 1 to 4 of 4

Conditional Formatting based on criteria in two cells

  1. #1
    Registered User
    Join Date
    04-09-2013
    Location
    Dunfermline
    MS-Off Ver
    Excel 2007
    Posts
    2

    Conditional Formatting based on criteria in two cells

    Please help - I'm trying to set conditional formatting [Excel 2007] on a stock control worksheet that will set colour dependent on matching criteria in two cells. If cell A3 has text and cell F3 is blank I want the colour in cell K3 to be green; if cell A3 and cell F3 both have text, I want K3 to be red. Hope someone can help, I've spent hours trying lots of variables!!!

  2. #2
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: Conditional Formatting based on criteria in two cells

    And(F3="",A3<>"").......................Green
    And(F3<>"",A3<>"").......................Red
    Elegant Simplicity............. Not Always

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Conditional Formatting based on criteria in two cells

    try

    =and(istext($a3),$f3="") >>for green

    =and(istext(a3),istext($f3)) >>for red
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Registered User
    Join Date
    04-09-2013
    Location
    Dunfermline
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Conditional Formatting based on criteria in two cells

    Thank you...so any clever people out there

+ 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