+ Reply to Thread
Results 1 to 8 of 8

Conditional Formatting: Highlight the lowest value

  1. #1
    Registered User
    Join Date
    11-14-2010
    Location
    Wales
    MS-Off Ver
    Excel 2000
    Posts
    28

    Unhappy Conditional Formatting: Highlight the lowest value

    Hello

    I wanted to ask for your help as all my searches on conditional formatting don't seem to return quite what I am after.

    On the attached spreadsheet I am trying to get the conditional formatting to highlight the lowest value, comparing very specific cells:

    For example on this spreadsheet:
    To highlight the lowest value of these cells: G6, N6, U6, AB6, AI6

    While ignoring the other values in that row and ignoring blanks and any cells with 0 in.

    I would be very grateful if someone could advise. The only things I can find are formulas that compare and highlight values in the entire row.
    I am using Excel 2000.

    Thank you
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,364

    Re: Conditional Formatting: Highlight the lowest value

    You can use =MIN(G6, N6, U6, AB6, AI6) to get the lowest value in the cells and then use that as the comparison.

    For example, =G6=MIN(G6, N6, U6, AB6, AI6)

    Apply that condition to each of the cells

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    11-22-2010
    Location
    Finland
    MS-Off Ver
    Excel 2003, 2007
    Posts
    95

    Re: Conditional Formatting: Highlight the lowest value

    And one alternative to get rid of those zeros and blanks is to make a harsh conversion to make sure that the value of that cell is not for sure the smallest. Like "changing" it to relatively big 9^9.

    You also might want to choose the format conditions to: "Cell Value Is equal to" and then this into field:
    Please Login or Register  to view this content.
    Last edited by KiPA; 11-26-2010 at 03:12 PM.
    An example file is never useless!

    Tried an example function of mine and got errors?
    - Had you found them, replace ; with , and , with .

  4. #4
    Registered User
    Join Date
    11-14-2010
    Location
    Wales
    MS-Off Ver
    Excel 2000
    Posts
    28

    Unhappy Re: Conditional Formatting: Highlight the lowest value

    Hello
    Thank you for your help. I must be doing something wrong as I cannot get either suggestions to work.

    When I try the first one it just highlights one of the zeros values in green ... I want it to highlight the lowest value which is over 0.

    The second option just comes up with a box saying "the formula you typed contains an error".

    All I did was select each of the cells I wanted to apply the formulas to at the same time then copy and paste the formula in. I have also tried adding it to each cell separately but I get the same result.

    Any suggestions, I must be doing something wrong.

    Thanks
    Debbie

  5. #5
    Registered User
    Join Date
    11-14-2010
    Location
    Wales
    MS-Off Ver
    Excel 2000
    Posts
    28

    Red face Re: Conditional Formatting: Highlight the lowest value

    I have just tried:

    Cel value is equal to:
    =MIN(IF(G6>0,G6,9^9),IF(N6>0,N6,9^9),IF(U6>0,U6,9^9),IF(AB6>0,AB6,9^9),IF(AI6>0,AI6,9^9))

    This is now highlighting the two lowest values (but over 0) in green. Any idea how to make it highlight just the lowest?

    Thanks
    xxxx

  6. #6
    Registered User
    Join Date
    11-22-2010
    Location
    Finland
    MS-Off Ver
    Excel 2003, 2007
    Posts
    95

    Re: Conditional Formatting: Highlight the lowest value

    Strange :O Works fine for me. Do you have the same problem with the file attached?
    Attached Files Attached Files

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

    Re: Conditional Formatting: Highlight the lowest value

    FWIW, given the pattern of 7 columns you could also use:

    Please Login or Register  to view this content.
    (the above used on a worksheet would require Array entry however no Array Entry required if used in Conditional Formatting context)

    edit: given above sample file you could replace the MOD with just a Header check given consistency:

    Please Login or Register  to view this content.
    Last edited by DonkeyOte; 11-27-2010 at 08:26 AM.

  8. #8
    Registered User
    Join Date
    11-14-2010
    Location
    Wales
    MS-Off Ver
    Excel 2000
    Posts
    28

    Re: Conditional Formatting: Highlight the lowest value

    Ah, that file worked perfectly. Thank you. I knew Imust have been doing something wrong.

    Thank you xxxx

+ 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