+ Reply to Thread
Results 1 to 3 of 3

format condition with horizon number, highlight with smallest

  1. #1
    Forum Contributor
    Join Date
    03-05-2015
    Location
    Cambodia
    MS-Off Ver
    2016
    Posts
    118

    format condition with horizon number, highlight with smallest

    Dear Excel help,

    I am struggling with format condition of item according to comparison as example.

    product A have 4 supplier so I would like to use format condition to highlight on the lower item.

    you may refer to attached sample using manual highlight for your ref.

    Thanks & deeply appreciated for your supportive.
    Attached Files Attached Files

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: format condition with horizon number, highlight with smallest

    CF formula in E3, apply to whole table:

    =E3=AGGREGATE(15,6,$E3:$H3/($E3:$H3>0),1)
    Attached Files Attached Files
    Quang PT

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,714

    Re: format condition with horizon number, highlight with smallest

    Select all the cells in the range $E$3:$H$9 and remove the manual background colours, then with the same range selected, click on Conditional Formatting | New Rule | Use a formula... , and put this formula in the dialogue box which pops up:

    =E3=MIN(IF($E3:$H3>0,$E3:$H3))

    Click on the Format button | Fill tab and choose your background colour, then OK your way out.

    You may need to use semicolons ( ; ) instead of commas ( , ) in the formula, depending on your regional settings.

    Hope this helps.

    Pete

+ 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: 12-06-2019, 02:55 PM
  2. conditional format: highlight cell according to condition (value < or> 7days )
    By lati2008 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 1
    Last Post: 04-23-2019, 05:05 AM
  3. first smallest and second smallest value dependent on a condition
    By virencm in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-07-2019, 05:11 PM
  4. Replies: 10
    Last Post: 12-11-2016, 08:01 AM
  5. Replies: 3
    Last Post: 05-20-2015, 07:03 AM
  6. conditional format smallest number
    By grizzly6969 in forum Excel General
    Replies: 4
    Last Post: 07-13-2010, 02:50 AM
  7. [SOLVED] How to highlight the smallest number other than zero
    By Kenny in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 01-14-2006, 02:45 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