![]() |
#2
|
|||
|
|||
![]()
.
If you don't mind using a macro approach : Code:
Option Explicit Private Sub CommandButton1_Click() Dim maximum As Double, rng As Range, cell As Range Cells.Interior.ColorIndex = 0 Set rng = Range("F1").CurrentRegion maximum = WorksheetFunction.Max(rng) For Each cell In rng If cell.Value = maximum Then cell.Interior.ColorIndex = 22 Range("G1").Value = cell.Address End If Next cell End Sub |
Tags |
formatting, help a novice |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Table with values from several locations and years - need to find comp values | Ricardo Sousa | Excel | 9 | 07-27-2018 02:06 AM |
![]() |
Ricardo Sousa | Excel | 6 | 06-09-2018 10:51 PM |
Multiple found values from five sheets, multiple returned values in sheet six? | irisha | Excel Programming | 26 | 09-30-2016 01:20 AM |
![]() |
KWH | Word Tables | 3 | 01-27-2016 02:25 PM |
Display multiple values as new values based on selection from template. | MvdB | Excel | 2 | 09-29-2015 08:51 PM |