+ Reply to Thread
Results 1 to 4 of 4

Conditional formatting with icon

  1. #1
    Registered User
    Join Date
    07-31-2013
    Location
    FRANCE
    MS-Off Ver
    Excel 2003
    Posts
    27

    Conditional formatting with icon

    Hello,

    After searching, apparently it is not possible to have a MFC with Icon, the relative references.

    It is not possible to copy the shape of the other cell.

    I retrieve the following code:

    Is it possible to modify the code for

    Compare cell A1 with B1 and put the arrow in A1:
    green, high, if the value is greater than a B1
    Blue, horizontal, and if the value is equal to B1
    red, low, and if the value is less than a B1

    it is repeating the range A1: B744

    Thank you for your help

    Please Login or Register  to view this content.

  2. #2
    Forum Contributor codeslizer's Avatar
    Join Date
    05-28-2013
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2003 - 2010
    Posts
    245

    Re: Conditional formatting with icon

    Hi Gibtoul,

    One quick question, do you need the arrows to be shown in A column itself? Coz using the standard icon formatting, I haven't seen any blue horizontal line or arrow yet and I don't think we can change the color of the icons. So, I have done a workaround to meet your requirements using a formula and fonts. Please see the attached file for the workings. I did the following steps to make it work. Say, I have columns in C and D to be checked for the formatting starting from C3.

    1. Created a Dynamic Range - This is the range - "rngFormats" where the formatting will be applied. It depends on the number of filled rows available in column C from C3 onwards. I have used the following function to create the named range.
    Please Login or Register  to view this content.
    2. Created a Module - This module stores the code for applying the formula and formats to the newly created dynamic range.

    Formula : Well, basically you don't have to put the formula manually or drag it, it automatically gets applied to the corresponding range.
    Please Login or Register  to view this content.
    Macro
    Please Login or Register  to view this content.
    Just hit on the "Refresh Formatting" to see the work in action. Hope, this helps!
    Attached Files Attached Files
    Last edited by codeslizer; 08-30-2013 at 10:50 AM.
    cOdEsLiZeR - Back after a long break.. Let's sLiZe some more cOdEs!!

  3. #3
    Registered User
    Join Date
    07-31-2013
    Location
    FRANCE
    MS-Off Ver
    Excel 2003
    Posts
    27

    Re: Conditional formatting with icon

    CodesLiZer

    Thank you for help

  4. #4
    Forum Contributor codeslizer's Avatar
    Join Date
    05-28-2013
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2003 - 2010
    Posts
    245

    Re: Conditional formatting with icon

    Soyez le bienvenu !
    Please mark the thread as [Solved] if your requirement is fulfilled or let us know if you still need some assistance.

+ 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. Using Icon Set in Conditional Formatting
    By JakeMann in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-30-2013, 12:39 AM
  2. Conditional Formatting using Icon Sets
    By JakeMann in forum Excel General
    Replies: 1
    Last Post: 09-11-2012, 09:39 AM
  3. Excel 2007 : Conditional formatting with an icon set
    By holmes123 in forum Excel General
    Replies: 1
    Last Post: 10-04-2011, 03:27 PM
  4. Excel 2007 : Conditional Formatting using icon sets
    By particle in forum Excel General
    Replies: 4
    Last Post: 04-05-2011, 09:12 PM
  5. Using icon sets in conditional formatting
    By howardphillis in forum Excel General
    Replies: 9
    Last Post: 11-16-2009, 09:16 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