+ Reply to Thread
Results 1 to 2 of 2

Conditional Formatting

Hybrid View

  1. #1
    Registered User
    Join Date
    03-04-2008
    MS-Off Ver
    MS365 PC Version 2202
    Posts
    21

    Conditional Formatting

    Hey All,

    Is there a way around what I am trying to do?

    I have a 2nd sheet which copies cells from the First Sheet, but as you know, when there is nothing in the first cell, it represents a "0".

    I have a Top/Bottom 10 Conditional format applied to the cells, but it applies to the "0" cells also! (my only work around at the moment is to continually add the conditional formatting as each day passes).

    Is there a way to have the conditional format applied so that it does a top 10 excluding "0" cells?

    Many thanks. Sample attached.
    Attached Files Attached Files
    Last edited by nschepp; 01-16-2014 at 05:05 AM. Reason: Fixed it myself :D

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Conditional Formatting

    Try these formula for conditional formatting........

    For Bottom 10...

    =AND(B3>=SMALL(IF($B$3:$B$44<>0,$B$3:$B$44),1),B3<=SMALL(IF($B$3:$B$44<>0,$B$3:$B$44),10))
    For Top 10...

    =AND(B3<=LARGE(IF($B$3:$B$44<>0,$B$3:$B$44),1),B3>=LARGE(IF($B$3:$B$44<>0,$B$3:$B$44),10))
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

+ 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. Replies: 3
    Last Post: 11-04-2013, 12:47 AM
  2. Replies: 1
    Last Post: 09-20-2013, 06:23 PM
  3. 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
  4. Replies: 3
    Last Post: 05-15-2012, 04:13 PM
  5. Macro for formatting fonts and cell colours - not Conditional Formatting
    By Kayaness in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-07-2011, 03:46 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