+ Reply to Thread
Results 1 to 7 of 7

Conditional Formatting with Multiple Rules (including Text & Merged Cells...eek!)

  1. #1
    Registered User
    Join Date
    11-22-2013
    Location
    New York, NY
    MS-Off Ver
    Excel 2013 for PC
    Posts
    8

    Conditional Formatting with Multiple Rules (including Text & Merged Cells...eek!)

    Howdy & Happy Sunday!

    I am in an excel quandary and can use some help. I have reached that "throw something at the monitor" level of frustration.

    I am trying to do conditional formatting for cells in the 23rd row (which is a formula of ?22-?21 where ?=column letter).

    If the number is greater than zero and the project fee type (row 4) is Fixed Fee, then I want it to highlight as red. If the number is less than zero, then I want it to highlight green.

    However for the fee type of Hourly, I want it to do the opposite where if it is greater than zero it should highlight green and highlight red if it is below zero.

    I have tried to separate the formulas to try and follow the priority but had no luck. I also tried the AND function (=AND((C3="Fixed Free"),(C23>0)) but that did not work either.

    I have been googling my face off with no results trying a bunch of things. Any help would be greatly appreciated!
    Thanks!
    Danieltest.xlsx

  2. #2
    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
    52,938

    Re: Conditional Formatting with Multiple Rules (including Text & Merged Cells...eek!)

    Not sure why that did not work for you, it should have. You had a few extra () inthere, but they should not have affected the answer. I used ...
    =AND(C3="Fixed Free",C23>0)

    You will need to manually adjust the references
    Last edited by FDibbins; 10-25-2015 at 03:37 PM.
    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

  3. #3
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Conditional Formatting with Multiple Rules (including Text & Merged Cells...eek!)

    Select C23:D23 and make new rules for conditional formatting based on the formulas given below...

    For Red:
    Please Login or Register  to view this content.
    For Green:
    Please Login or Register  to view this content.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  4. #4
    Registered User
    Join Date
    11-22-2013
    Location
    New York, NY
    MS-Off Ver
    Excel 2013 for PC
    Posts
    8

    Re: Conditional Formatting with Multiple Rules (including Text & Merged Cells...eek!)

    Thanks so much for your help! I finally was able to get it to work.

    Appreciate it.

  5. #5
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Conditional Formatting with Multiple Rules (including Text & Merged Cells...eek!)

    You're welcome. Glad we could help.
    Thanks for the feedback also.

  6. #6
    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
    52,938

    Re: Conditional Formatting with Multiple Rules (including Text & Merged Cells...eek!)

    Happy it worked out for you, thanks for the feedback

  7. #7
    Registered User
    Join Date
    11-22-2013
    Location
    New York, NY
    MS-Off Ver
    Excel 2013 for PC
    Posts
    8

    Re: Conditional Formatting with Multiple Rules (including Text & Merged Cells...eek!)

    If you get bored, I posted a new problem. Ha!
    http://www.excelforum.com/excel-gene...ml#post4228755

+ 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. [SOLVED] Using if and And together in conditional formatting multiple rules!
    By Katieloulouise in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 02-03-2015, 01:00 PM
  2. Conditional Formatting, multiple rules
    By jsch08 in forum Excel General
    Replies: 1
    Last Post: 04-30-2013, 11:30 PM
  3. [SOLVED] Conditional Formatting - Highlight Cells Rules "text that contains"
    By ggentry in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-11-2013, 07:53 AM
  4. Conditional Formatting with multiple rules
    By carrod65 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-24-2012, 03:43 PM
  5. Complex Conditional Sum (including pivots, merged cells and more)
    By PeteB in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-14-2012, 10:12 AM
  6. Conditional formatting multiple rules
    By candrew03 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-16-2011, 02:35 PM
  7. Conditional Formatting Multiple Rules
    By ems.payroll in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-07-2008, 12:31 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