+ Reply to Thread
Results 1 to 7 of 7

Conditional formatting based on certain critaria

  1. #1
    Registered User
    Join Date
    11-28-2017
    Location
    canada
    MS-Off Ver
    2016
    Posts
    16

    Conditional formatting based on certain critaria

    Hello Folks.

    I am looking a formula to conditional format two columns as per below criteria.


    if Column A is great than Column B , add red font color to Column B . However, if Column B is greater then add green font color.

    Regards,
    Shahmed

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Subscription Insider (Windows 11 64-bit)
    Posts
    54,561

    Re: Conditional formatting based on certain critaria

    Select B1. Set up the two rules:

    =A1>B1

    =A1<B1

    In the applies to box in each case, type B:B.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

  3. #3
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,038

    Re: Conditional formatting based on certain critaria

    No conditional formatting when the two values are equal then?
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Subscription Insider (Windows 11 64-bit)
    Posts
    54,561

    Re: Conditional formatting based on certain critaria

    It would appear not - not unusual, I think, with RAG ratings (which often omit the Amber). Easy enuogh to add a rule if required:

    =A1=B1


  5. #5
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,038

    Re: Conditional formatting based on certain critaria

    I like to cover ALL the possiblities

  6. #6
    Registered User
    Join Date
    11-28-2017
    Location
    canada
    MS-Off Ver
    2016
    Posts
    16

    Re: Conditional formatting based on certain critaria

    Thank you.

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Subscription Insider (Windows 11 64-bit)
    Posts
    54,561

    Re: Conditional formatting based on certain critaria

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. Random with critaria
    By Limor in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-02-2018, 07:04 AM
  2. Random with critaria
    By Limor in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-02-2018, 05:49 AM
  3. Replies: 1
    Last Post: 10-04-2016, 05:17 AM
  4. Macro to set up conditional message based on results of conditional formatting
    By paysola in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-04-2016, 12:38 AM
  5. [SOLVED] Need to multiply cells based on text critaria/information
    By ryan4646 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-07-2013, 01:32 PM
  6. Replies: 1
    Last Post: 09-20-2013, 06:23 PM
  7. Conditional Formatting via VBA: Change formatting in range based on value of each cell
    By ralphjmedia in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-12-2013, 10:37 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