+ Reply to Thread
Results 1 to 3 of 3

if two cells match show value and then conditionally format.

  1. #1
    Forum Contributor
    Join Date
    03-05-2015
    Location
    Playa Del Carmen, Mexico
    MS-Off Ver
    2016
    Posts
    111

    if two cells match show value and then conditionally format.

    Values are sapphire, ruby, emerald or diamond.

    If a2 & b2 match show same value in cell c2. If true d2 is conditionally formatted dependent on the value, if not true c2 is blank and no color fill in d2

    if sapphire & sapphire d2 is blue, if ruby & ruby red, if emerald & emerald green, if diamond & diamond gray.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: if two cells match show value and then conditionally format.

    In C2:

    =IF(A2=B2,A2,"")

    Your CF rules for D2 will follow this pattern:

    =C2="Ruby"

    and set the formatting to red.

    You need four rules: one for each gem stone.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: if two cells match show value and then conditionally format.

    Thanks for the rep!

+ 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: 1
    Last Post: 01-04-2017, 05:59 PM
  2. Replies: 1
    Last Post: 01-20-2016, 08:56 AM
  3. [SOLVED] Getting Blank Cells to Conditionally Format
    By heresteve2 in forum Excel General
    Replies: 4
    Last Post: 09-28-2015, 02:56 PM
  4. Using COUNTIF to Conditionally Format Cells
    By brreaves in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-05-2014, 12:33 AM
  5. Conditionally format IF, ISNUMBER, MATCH
    By mpendle in forum Excel General
    Replies: 2
    Last Post: 01-14-2009, 01:34 PM
  6. Replies: 2
    Last Post: 04-06-2006, 11:10 AM
  7. [SOLVED] conditionally format cells
    By elad in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-13-2005, 01:06 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