+ Reply to Thread
Results 1 to 6 of 6

Conditional Format Formula

  1. #1
    Registered User
    Join Date
    11-12-2015
    Location
    New York
    MS-Off Ver
    2010
    Posts
    6

    Conditional Format Formula

    I need help writing two conditional format formulas. One formula needs to highlight column (A) if the percentage is improving and getting closer to zero than column (B) and as well column (C). For example A=1 B=-3 and C=2, column (A) would highlight green since it's getting closer to zero it's trend is improving. The other needs to do the opposite were if A=-4 B=-2 and C=-3 column (A) would highlight red because it is not the closest to zero it's trend is further away.
    Last edited by sawkind; 03-10-2016 at 11:46 AM.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,620

    Re: Conditional Format Formula

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachements to open the upload window.

    View Pic
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    11-12-2015
    Location
    New York
    MS-Off Ver
    2010
    Posts
    6

    Re: Conditional Format Formula

    I have added a sample work book.
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,594

    Re: Conditional Format Formula

    Try these two rules under the "use formula to determine which cells to format" selection (red): =AND(ABS(A2)>ABS(B2),ABS(A2)>ABS(C2)) and (green): =AND(ABS(A2)<ABS(B2),ABS(A2)<ABS(C2)) Here is a copy of your file with the CF rules applied: Conditional Formatting of Absolute Value.xlsx
    Let me know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Registered User
    Join Date
    11-12-2015
    Location
    New York
    MS-Off Ver
    2010
    Posts
    6

    Re: Conditional Format Formula

    Thank you it worked!

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,594

    Re: Conditional Format Formula

    You're Welcome and thank you for the feedback. If you haven't already, please take a moment to mark the thread 'Solved' using the thread tools link above your first post. I hope that you have a good day.

+ 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] VBA to create a relative formula in a conditional format (rather than an absolute formula)
    By The_Snook in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-07-2016, 08:00 AM
  2. Replies: 7
    Last Post: 03-24-2015, 07:44 AM
  3. formula help - conditional format to colour cell = count = formula
    By rangeruk in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-23-2015, 09:03 PM
  4. [SOLVED] Conditional format formula
    By dancing-shadow in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-05-2013, 12:51 PM
  5. [SOLVED] Formula/format base don another conditional format
    By ketteringjack in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-12-2012, 07:35 AM
  6. Conditional format with a formula
    By Mike Echo in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 PM
  7. [SOLVED] Conditional format with a formula
    By Mike Echo in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 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