+ Reply to Thread
Results 1 to 5 of 5

conditional format smallest number

  1. #1
    Valued Forum Contributor
    Join Date
    05-19-2010
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2010
    Posts
    391

    Talking conditional format smallest number

    This has been asked before but I have not seen a working answer
    A2:M2 has numbers 1 through 10 - - - - I want the smallest none duplicate number to turn red
    If there are two # 1 and a # 2 then 2 is the smallest number - - - - if there are two # 1 and two # 2 and no # 3 then # 4 would be the smallest number and be highlited red
    Last edited by grizzly6969; 07-13-2010 at 02:52 AM.

  2. #2
    Registered User
    Join Date
    07-11-2010
    Location
    Croatia
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: conditional format smallest number

    Please Login or Register  to view this content.
    This make the smallest value red. In any selection.

  3. #3
    Valued Forum Contributor
    Join Date
    05-19-2010
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2010
    Posts
    391

    Re: conditional format smallest number

    I copied your formula and inserted into my worksheet in module and nothing happened should I have pasted in different area

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

    Re: conditional format smallest number

    Quote Originally Posted by grizzly6969
    A2:M2 has numbers 1 through 10 - - - - I want the smallest none duplicate number to turn red
    Highlight A2:M2 and apply a Conditional Format FormulaIs Rule of:

    =IF(ISNUMBER(A2),A2=MIN(IF(COUNTIF($A2:$M2,$A2:$M2)=1,$A2:$M2)))
    set format accordingly

  5. #5
    Valued Forum Contributor
    Join Date
    05-19-2010
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2010
    Posts
    391

    Re: conditional format smallest number

    beautiful ---- Thanks you soooooooo mutch

+ 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