Excel Golf Skins Sheet

Solved/Closed
agw2010 Posts 2 Registration date Sunday 17 August 2014 Status Member Last seen 18 August 2014 - 17 Aug 2014 à 23:32
agw2010 Posts 2 Registration date Sunday 17 August 2014 Status Member Last seen 18 August 2014 - 18 Aug 2014 à 22:20
I need a micro that will highlight the cell with the lowest unique value in each individual column.

It would not highlight anything if there were multiple occurrences of the same lowest number.

I know how to do it in old basic, but not in excel visual basic.

Example: 2 3 4 4 4 3 5 - it would highlight the 2

Example: 3 5 7 4 3 4 4 5 5 - no highlight due to multiple 3s

Thanks in advance.
Related:

2 responses

TrowaD Posts 2921 Registration date Sunday 12 September 2010 Status Contributor Last seen 27 December 2022 555
18 Aug 2014 à 12:06
Hi Agw,

You could use a spare cell for this formula:
=IF(COUNTIF(A1:A9,MIN(A1:A9))=1,MIN(A1:A9))

and then use this in Conditional formatting:
=$A1:$A9=$C$22 (Where C22 is the cell with the above formula.)

Best regards,
Trowa