+ Reply to Thread
Results 1 to 2 of 2

Conditional Formating two conditions

  1. #1
    Registered User
    Join Date
    07-14-2012
    Location
    Lincolnshire
    MS-Off Ver
    Excel 2010
    Posts
    5

    Conditional Formating two conditions

    I need some help please with conditional formatting of some cells.

    I have a chart with the days of the week across the top, dates just below and then a shift pattern below that. What I currently have is two conditional comments that work, to display the column with an ‘S’ in it (ie. Weekends) to fill red and a cell with a value of ‘D’ to colour green.

    What I have been trying to do but just can’t get right is to get the cells with the value ‘D’ (or N also) to format in font in the colour I want and to change the fill to red if the column has the ‘S’ value in it.



    Please Login or Register  to view this content.

    Please Login or Register  to view this content.
    How do I write a formula that will colour the font and fill for the two conditions?

    I will also need to do the same for ‘N’

    Thank you

  2. #2
    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 Formating two conditions

    Highlight your range and In Conditional Formating rules, use these.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Formula: copy to clipboard
    Please Login or Register  to view this content.


    How can you use Conditional Formating.

    --In Excel 2007 and 2010, Conditional Formatting is in the Styles group on the Home tab. In Excel 2003, Conditional Formatting is on the Format menu. See here how you can work using CF.
    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.

+ 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 formating 7 conditions
    By ABSTRAKTUS in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-16-2011, 04:36 PM
  2. Conditional Formating with 4 Conditions
    By Justinmih in forum Excel General
    Replies: 1
    Last Post: 11-23-2010, 08:25 PM
  3. Can I use more than three conditions for conditional formating?
    By Jmaas in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-28-2006, 07:20 PM
  4. [SOLVED] More that 3 conditions for conditional formating?
    By Jerry Kinder in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 10-19-2005, 02:05 PM
  5. Conditional Formating 4 conditions
    By Roy in forum Excel General
    Replies: 1
    Last Post: 05-28-2005, 06:08 AM

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