+ Reply to Thread
Results 1 to 5 of 5

Excel 2007 : Conditional Formatting with Subtotals

  1. #1
    Registered User
    Join Date
    06-11-2008
    Posts
    15

    Conditional Formatting with Subtotals

    Hello, I have a spreadsheet that has subtotals and I would like to have a conditional format that would highlight the top 10/bottom 10 without including the actual subtotal rows in thie conditional format. Is this possible?

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Conditional Formatting with Subtotals

    that should be possible but it would help if you could provide a sample file such that we can determine the layout.

    also what happens if there are multiples of the last number making up top / bottom n ?

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Conditional Formatting with Subtotals

    Which column contains the numbers to highlight? And how does one identify the Subtotals row, so that it can be excluded?
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  4. #4
    Registered User
    Join Date
    06-11-2008
    Posts
    15

    Re: Conditional Formatting with Subtotals

    I have added an attachment that shows what I am trying to explain. The column that the numbers are in that I would like to be highlighted are in E. The subtotals are in grey
    Attached Files Attached Files
    Last edited by mttlltt75; 01-21-2010 at 02:08 PM.

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Conditional Formatting with Subtotals

    You didn't answer the question in regard to what happens if there is more than 1 instance of the 10th largest/smallest value... ie do all instances of that value get formatted ?

    First, if we assume you're running a version of XL pre XL2007 you're limited to 3 conditional formats.

    Presently you have 2 setup:

    1. To format the subtotal/grandtotal rows

    2. To set 0 values to white font.

    Obviously in order to add the Top & Bottom 10 conditions you must delete one of the existing rules.

    You could delete your 2nd (0) rule given you can replicate the same (with exception of 0's in SubTotal rows) using a standard Custom Format, eg:

    Highlight your number range (C3:E63) and apply a Custom Format (via CTRL + 1) of: 0.000;-0.000;;

    If you do that you then have space for the two new conditional formats....

    With the range E3:E63 highlighted apply rules:

    Please Login or Register  to view this content.
    in the above scenario should multiple instances of the 10th largest/smallest value appear in the column they will be highlighted accordingly.

    EDIT: of course 0's would generally form part of the bottom 10 results...
    Last edited by DonkeyOte; 01-21-2010 at 03:11 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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