+ Reply to Thread
Results 1 to 8 of 8

Conditional formatting of Excel 2010

  1. #1
    Registered User
    Join Date
    10-25-2015
    Location
    Australia
    MS-Off Ver
    Microsoft Office Professional Plus 2010 version 14.0.7153.5000
    Posts
    2

    Conditional formatting of Excel 2010

    I am trying to come up with a conditional formatting formula that will auto fill in a cell based on the percentage value compared with the value in another cell.

    In the example below, I want the cells D3:F3 to change color based on its percentage compared with the value in B3.
    Excel capacity.jpg

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: Conditional formatting of Excel 2010

    Hi, welcome to the forum

    It is always better to upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.

    having said that, you need to use the "use formula" option.

    Start with the <0% (although I don't see how a machine can have < 5% capacity?)
    Then work up with <25%, then <50% and finally <100%
    If you do it in that order, then the <100 rule will be 1st and the 0% will be the last rule, and you wont need to include > than in the rules.

    If you still have a problem, upload a sample WB
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    10-25-2015
    Location
    Australia
    MS-Off Ver
    Microsoft Office Professional Plus 2010 version 14.0.7153.5000
    Posts
    2

    Excel 2010 Conditional format

    I am trying to come up with a conditional format that will automatically fill in a cell based on specific criteria.

    In the attached example, I am wanting D3:F3 to look at the percentage value of that cell against B3 and fill in the cell accordingly.
    Attached Files Attached Files

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,477

    Re: Excel 2010 Conditional format

    See attachment.
    Attached Files Attached Files
    Quang PT

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Conditional formatting of Excel 2010

    Welcome to the Forum, unfortunately:

    The duplicate post did not comply with Rule 5 of our forum rules.

    Threads Merged.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Conditional formatting of Excel 2010

    bebo021999, what if capacity = 0? 50% (or whatever % >0) of 0 = 0 so it shouldn't be checked by any colour, I think.


    Copy of Conditional format_sandy.xlsx
    Last edited by sandy666; 10-26-2015 at 12:38 AM.

  7. #7
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,477

    Re: Conditional formatting of Excel 2010

    Sandy, I followed how his sample cells are formatted. I supposed his "criteria in words" is "less than or equals 0%" instead of "less than 0%".

  8. #8
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Conditional formatting of Excel 2010

    Yeah, but I am talking bout B column (Capacity) not D,E,F.
    If any B value will be 0 all in row shouldn't be coloured like I said any% of 0 is 0. This is not truth, 16 is not 50% of 0
    You are right with criteria but IMHO, not with math.
    Last edited by sandy666; 10-26-2015 at 01:06 AM. Reason: letter mistake

+ 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. Excel 2010 Conditional Formatting Bug?
    By ASBP in forum Excel General
    Replies: 1
    Last Post: 02-13-2014, 10:51 AM
  2. Conditional Formatting Excel 2010
    By ciwash in forum Excel General
    Replies: 3
    Last Post: 11-13-2013, 09:44 AM
  3. Conditional Formatting Excel 2010
    By bsanjay in forum Excel General
    Replies: 1
    Last Post: 02-19-2013, 09:07 AM
  4. Conditional Formatting Excel 2010
    By alex.j.stewart in forum Excel General
    Replies: 1
    Last Post: 02-07-2013, 06:06 PM
  5. Delete Conditional Formatting conditions but keep cell formatting - Excel 2010
    By tetreama in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-09-2012, 08:28 PM
  6. Conditional Formatting in Excel 2010
    By johnhe in forum Excel General
    Replies: 10
    Last Post: 03-31-2012, 02:26 PM
  7. Conditional Formatting Excel 2010
    By elew69811 in forum Excel General
    Replies: 4
    Last Post: 06-22-2011, 02:59 PM
  8. Conditional Formatting in Excel 2010
    By goldenclick in forum Excel General
    Replies: 1
    Last Post: 06-03-2011, 02:41 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