+ Reply to Thread
Results 1 to 8 of 8

Conditional Formatting with Function

  1. #1
    Registered User
    Join Date
    05-30-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2013
    Posts
    62

    Conditional Formatting with Function

    Good Day

    I have the below formula in my excel file, i would like to add conditional formatting as follows; between 0% & 29.99% (Red); Equals to 30% (Yellow); Greater than 30% (Green).

    The problem i am experiencing is that the blank cells also change green with the conditional formatting, and i do not want to remove the formula.

    =IF(ISERROR(F3/E3),"",(F3/E3))

    Please Help.

    Thanks.

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Conditional Formatting with Function

    Try using AND in your conditional formatting formula

    =AND(A1<>"",YourFormula)

    Amend A1 to suit.

    BSB

  3. #3
    Registered User
    Join Date
    05-30-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2013
    Posts
    62

    Re: Conditional Formatting with Function

    Hi

    Thanks for the help, though i am still confused, if i use your solution what will i use instead of A1? Any of my selections change the cell to true.

    All i want is for the conditional formatting to not pick up the blank cells and change the colour.

  4. #4
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Conditional Formatting with Function

    Could you post your workbook? Desensitize any data if necessary.

    BSB

  5. #5
    Registered User
    Join Date
    05-30-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2013
    Posts
    62

    Re: Conditional Formatting with Function

    Hi

    File attached
    Attached Files Attached Files

  6. #6
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Conditional Formatting with Function

    In the attached I've changed the conditional formatting for the green from a "cell value > 0.3" to a formula specified condition using the below:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Does that help?

    BSB
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    05-30-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2013
    Posts
    62

    Re: Conditional Formatting with Function

    Works Perfectly.

    Thank You.

  8. #8
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Conditional Formatting with Function

    Happy to help.
    Thanks for the rep point

    BSB

+ 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. IF function, trends and conditional formatting help please.
    By Yasineyra in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-27-2014, 05:19 PM
  2. Conditional formatting using MAX function
    By yardenon in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-26-2013, 12:09 PM
  3. [SOLVED] Conditional formatting with AND() and OR() function
    By nickmax1 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-21-2013, 08:37 AM
  4. [SOLVED] If function & conditional formatting
    By spursrule68 in forum Excel General
    Replies: 20
    Last Post: 05-31-2012, 08:13 AM
  5. conditional formatting with IF/AND function
    By mishka02 in forum Excel General
    Replies: 3
    Last Post: 03-09-2012, 01:36 AM
  6. Using IF Function with conditional formatting
    By new2XL in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-30-2006, 01:40 AM
  7. Conditional formatting and If function?
    By dond in forum Excel General
    Replies: 4
    Last Post: 07-22-2005, 08:19 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