Results 1 to 4 of 4

Conditional formatting under condition of min excluding blanks

Threaded View

  1. #1
    Registered User
    Join Date
    12-10-2013
    Location
    Hong Kong
    MS-Off Ver
    Excel 2007
    Posts
    2

    Exclamation Conditional formatting under condition of min excluding blanks

    Hello all, hope that you can share your wise suggestion to my problem.
    In each row of row 4 to 7 in my attachment, I try to find out the cell in column B to G which is not blank and is the minimum among all non-blank cells not less than the input value (i.e. value in column A) and fill in color.
    For example, in row 4, C4 should be colored;
    in row 6, only B6 should be colored (and those blank cells in row 6 should NOT be colored).

    I tried different kinds of formulae in conditional formatting but none of them can work in all cases in the attachment (for example, after selecting range as B4:G7, I tried
    = $B4 = MIN(IF($B4:$G4>=$A4, IF(ISNUMBER($B4:$G4), $B4:$G4))) )

    Please help to find ways for such purpose.
    Using conditional formatting or VBA are both OK for me.

    PS: Attached is an excel file from Office 2000, and similar purpose has to be applied on another one from Office 2007. Please state any difference when deploying your suggestions to these two versions.
    Attached Files Attached Files
    Last edited by kip894; 12-12-2013 at 02:23 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Formula for Conditional Formatting Bottom 5 excluding 0's
    By FlyinIron406 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-10-2013, 02:23 AM
  2. Conditional Formatting skipping blanks
    By hanjimono in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-13-2013, 12:08 AM
  3. Help with excluding blank cells or with conditional formatting
    By macky18 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-07-2012, 10:22 AM
  4. Replies: 6
    Last Post: 02-25-2012, 12:15 AM
  5. Excluding Blank Cells in Conditional Formatting
    By cakonopka in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-16-2007, 04:08 PM

Tags for this Thread

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