+ Reply to Thread
Results 1 to 8 of 8

Cell conditional format - Data bars

  1. #1
    Registered User
    Join Date
    11-14-2012
    Location
    Spain
    MS-Off Ver
    Excel 2007
    Posts
    34

    Cell conditional format - Data bars

    Good afternoon,

    I can't get around this cell conditional format.

    Basically, I want to calculate how did John do with respect to the average grade in his class.

    As you can see in the attached file, I have two columns (C and D) with John's grade and the Average grade respectively. Then in column E I have the difference between them.

    I would like cells in column E to be green if John did better than average (that is, if the value in cell E is positive) and red if he did worse than average (that is, if the value in cell E is negative). Additionally, I would like the cells to have a long bar if the difference was big and a small bar if the difference was small (E.g. If John got 100% and the average grade was 30%, I want the cell to be almost fully coloured in green. On the other hand, if John got 60% and the average grade was 58% I would like the bar to be very short).

    Thankyou in advance,

    gjrr4x1
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    11-01-2012
    Location
    Madisonville, KY
    MS-Off Ver
    Excel 2010
    Posts
    47

    Re: Cell conditional format - Data bars

    try this and see if it is what you are looking for
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    11-14-2012
    Location
    Spain
    MS-Off Ver
    Excel 2007
    Posts
    34

    Re: Cell conditional format - Data bars

    Cwheeler116, thankyou for your reply.

    Yes, that's more or less what I'm looking for.

    The only problem I find, is that I wan't the bar to be red when the cell is negative (E.g. E7, E8, E11).

  4. #4
    Registered User
    Join Date
    11-01-2012
    Location
    Madisonville, KY
    MS-Off Ver
    Excel 2010
    Posts
    47

    Re: Cell conditional format - Data bars

    the bar is red on those cells, it is just hard to see since the negative quantity is so small

  5. #5
    Registered User
    Join Date
    11-01-2012
    Location
    Madisonville, KY
    MS-Off Ver
    Excel 2010
    Posts
    47

    Re: Cell conditional format - Data bars

    set the column width on column E to 70, and you can see the bars clearly

  6. #6
    Registered User
    Join Date
    11-14-2012
    Location
    Spain
    MS-Off Ver
    Excel 2007
    Posts
    34

    Re: Cell conditional format - Data bars

    There's a -46 in cell E11 and a -70 in cell E12. The bars are still green. I also checked the rules in the conditional format of the cell and there's only one and it's green.

    Thankyou for your time anyway.

    Hope someone knows how to do this.

    Best,

    gjrr4x1.

  7. #7
    Registered User
    Join Date
    11-01-2012
    Location
    Madisonville, KY
    MS-Off Ver
    Excel 2010
    Posts
    47

    Re: Cell conditional format - Data bars

    here is what i see when i open the file that i uploaded
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    11-14-2012
    Location
    Spain
    MS-Off Ver
    Excel 2007
    Posts
    34

    Re: Cell conditional format - Data bars

    Thankyou cwheeler116,

    Sorry for the late response.

    Yep, that's right. The reason i couldn't see it is that I'm using MS Excel 2007 and that feature is only available in the latest MS Excel versions.

    Best,

    gjrr4x1

+ 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. Data Bars Conditional Formatting
    By benny66 in forum Excel General
    Replies: 7
    Last Post: 07-08-2014, 11:34 AM
  2. Replies: 2
    Last Post: 01-08-2014, 08:57 AM
  3. Conditional formatting on a Cell with DATA BARS, based on value of another cell
    By nikeshghimire in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-15-2012, 08:13 AM
  4. Conditional Formatting Data Bars
    By Wak1234 in forum Excel General
    Replies: 0
    Last Post: 12-15-2011, 05:52 PM
  5. Excel 2007 : Conditional Formatting - Data Bars
    By flaviocn in forum Excel General
    Replies: 3
    Last Post: 08-09-2009, 06:23 PM

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