+ Reply to Thread
Results 1 to 8 of 8

Conditional Formatting that highlights cells on two conditions

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    09-03-2012
    Location
    Newcastle
    MS-Off Ver
    Excel 2010
    Posts
    132

    Conditional Formatting that highlights cells on two conditions

    Hello,

    I want to create a conditional formatting rule that says:

    IF the dates in column K are equal to cell J1 AND has a RAG status of G or C in column R, highlight the date in cell in column K to red.

    In my example, this should highlight all cells that have a date of 02 Aug 13 and have a RAG of G or C. The formula should highlight the following cells: K11, K13, K19, K57, K72, K101, K128, K146, K201, K257, K402.

    Many thanks in advance.Example workbook v73.xlsm

  2. #2
    Forum Contributor rajeshturaha's Avatar
    Join Date
    08-22-2012
    Location
    Assam, India
    MS-Off Ver
    Excel 2003, 2007
    Posts
    236

    Re: Conditional Formatting that highlights cells on two conditions

    Try this in CF
    Formula: copy to clipboard
    AND($K3=$J$1,OR($R3="g",$R3="c"))
    Rgd
    RT
    If my answer(s) helped you, please add me reputation by click on *

  3. #3
    Forum Contributor
    Join Date
    09-03-2012
    Location
    Newcastle
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Conditional Formatting that highlights cells on two conditions

    Doesn't work - getting an error. Have you tried that formula yourself in my workbook..?

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Conditional Formatting that highlights cells on two conditions

    Just add an = in the beginning of the suggested formula (In Post #2) and try...


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  5. #5
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,715

    Re: Conditional Formatting that highlights cells on two conditions

    Hi
    I came up with an identical formula
    are you perhaps missing the equals sign?

    =AND(K3=$J$1,OR(R3="G",R3="C"))

  6. #6
    Forum Contributor
    Join Date
    09-03-2012
    Location
    Newcastle
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Conditional Formatting that highlights cells on two conditions

    The formula is now working however for some reason it seems to be highlighting 2 cells above rather than the cell with the date 2nd august?

    Thanks

  7. #7
    Forum Contributor
    Join Date
    09-03-2012
    Location
    Newcastle
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Conditional Formatting that highlights cells on two conditions

    Sorry - still doesn't seem to be working. Please can you put the formula in the workbook and re-upload so I can see where I am going wrong?

    Thanks

  8. #8
    Forum Contributor
    Join Date
    09-03-2012
    Location
    Newcastle
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Conditional Formatting that highlights cells on two conditions

    Apologies all.. I have now sorted this

    Thanks all for you're help.

+ 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. Replies: 6
    Last Post: 05-31-2013, 04:49 AM
  2. Conditional Formatting Value highlights multiple values
    By brent_bris in forum Excel General
    Replies: 15
    Last Post: 04-22-2013, 11:26 AM
  3. Replies: 2
    Last Post: 04-17-2012, 10:15 AM
  4. Conditional Formatting Help-highlights a single row
    By Tommy1005 in forum Excel General
    Replies: 1
    Last Post: 02-22-2011, 02:22 PM
  5. [SOLVED] Conditional formatting based on conditions in other cells.
    By manxman in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-03-2006, 12:50 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