+ Reply to Thread
Results 1 to 5 of 5

Excel 2007 : Highlight the lowest whole number in a range

  1. #1
    Forum Contributor
    Join Date
    04-20-2011
    Location
    Birmingham, England
    MS-Off Ver
    Excel 2007
    Posts
    121

    Highlight the lowest whole number in a range

    Help.

    My first post. Can anyone tell me how to condition a range of cells so the lowest integer only is highlighted in a row?

    e.g.

    14.00, 13.75, 6.00, 3.35, 1.0, 0.25.

    I need to higlight only the lowest whole number 1.0

    Any suggestions???

    Thanks


    Martin
    Last edited by Martin Chamberlin; 04-21-2011 at 02:21 PM.

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

    Re: Highlight the lowest whole number in a range

    Assuming data is in A1:F1, select that range and then go to Home|Conditional Formatting|New Rule
    Select Use a formula to determine which cells to format and then enter formula:

    =A1=MIN(IF(MOD($A$1:$F$1,1)=0,$A$1:$F$1))

    Click Format and choose colour from Fill tab.
    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.

  3. #3
    Forum Contributor
    Join Date
    04-20-2011
    Location
    Birmingham, England
    MS-Off Ver
    Excel 2007
    Posts
    121

    Re: Highlight the lowest whole number in a range

    Quote Originally Posted by NBVC View Post
    Assuming data is in A1:F1, select that range and then go to Home|Conditional Formatting|New Rule
    Select Use a formula to determine which cells to format and then enter formula:

    =A1=MIN(IF(MOD($A$1:$F$1,1)=0,$A$1:$F$1))

    Click Format and choose colour from Fill tab.

    Thats a great start. The lowest whole number in the following row could be any whole number though 1,2,3,4,5,6,7,8,etc

    e.g. 14.00, 8.75, 6.00, 4.35, 2.00, 1.25, 0.75

    Highlight 2.00. Any other suggestions, there will be multiple rows.

    Thanks


    Martin

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

    Re: Highlight the lowest whole number in a range

    Remove the current conditional rule...

    Assuming the data is in multiple rows, A1:F10

    Then select A1:F10 and re-invoke CF as above with formula:

    =A1=MIN(IF(MOD($A1:$F1,1)=0,$A1:$F1))

    Then click Format and choose colour.

    This will highlight the smallest integer in each row.

  5. #5
    Forum Contributor
    Join Date
    04-20-2011
    Location
    Birmingham, England
    MS-Off Ver
    Excel 2007
    Posts
    121

    Re: Highlight the lowest whole number in a range

    You are a genius. Solved.

    Many thanks


    Martin

+ 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