+ Reply to Thread
Results 1 to 4 of 4

Conditional Formatting

  1. #1
    Registered User
    Join Date
    12-09-2012
    Location
    Warsaw
    MS-Off Ver
    Excel 2003/Excel 2010
    Posts
    44

    Conditional Formatting

    Hello,
    could you please help me to solve the following problem:
    Is it possible to use the formula =AND($G6>($D6+20000);$C21=$E21) and use different style of formatting for each condition (within AND function), which means the first conditions with red f.eg. and the second one with greater numer of font.

    Thank you in advance for your help.
    Regards,
    Gosia

  2. #2
    Registered User
    Join Date
    12-09-2012
    Location
    Warsaw
    MS-Off Ver
    Excel 2003/Excel 2010
    Posts
    44

    Re: Conditional Formatting

    I send samlpe data for tests.
    Attached Files Attached Files

  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

    As i know,you can not use more than i style of formatting for each formula

    Why don't you just use 2 different conditions?
    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
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,049

    Re: Conditional Formatting

    unless that is just an example that you dreamed up, you have 2 possibly conflicting, and completely unrelated conditions there?

    Is it possible to use the formula =AND($G6>($D6+20000);$C21=$E21
    you are referencing data on row 6 and then data on row 21? and comparing data in column D with G and then C with E - what is your expectation if D&G is true AND C&E is true?

    as Fotis pointed out, you cannot have 2 formats in 1 rule, you would need to separate rules for that
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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