xlhelp15
Board Regular
- Joined
- Sep 12, 2014
- Messages
- 116
- Office Version
- 365
- Platform
- Windows
- Mobile
- Web
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Goal
[/TD]
[TD]07/02/18
[/TD]
[TD]07/03/18
[/TD]
[TD]07/04/18
[/TD]
[TD]07/05/18
[/TD]
[/TR]
[TR]
[TD]50
[/TD]
[TD]20
[/TD]
[TD]56
[/TD]
[TD]65
[/TD]
[TD]130
[/TD]
[/TR]
[TR]
[TD]50
[/TD]
[TD]22
[/TD]
[TD]25
[/TD]
[TD]35
[/TD]
[TD]85
[/TD]
[/TR]
[TR]
[TD]106
[/TD]
[TD]130
[/TD]
[TD]120
[/TD]
[TD]85
[/TD]
[TD]99
[/TD]
[/TR]
[TR]
[TD]120
[/TD]
[TD]115
[/TD]
[TD]160
[/TD]
[TD]55
[/TD]
[TD]96
[/TD]
[/TR]
[TR]
[TD]150
[/TD]
[TD]16
[/TD]
[TD]175
[/TD]
[TD]199
[/TD]
[TD]12
[/TD]
[/TR]
</tbody>[/TABLE]
Hi - I need a macro which needs to fill the colorindex=22 whenever the ACTUAL is lesser than the GOAL.
For eg,
in row 2 - date -07/2,03 & 04 is lesser than the goal. It needs to highlights interior color= 22.
<tbody>[TR]
[TD]Goal
[/TD]
[TD]07/02/18
[/TD]
[TD]07/03/18
[/TD]
[TD]07/04/18
[/TD]
[TD]07/05/18
[/TD]
[/TR]
[TR]
[TD]50
[/TD]
[TD]20
[/TD]
[TD]56
[/TD]
[TD]65
[/TD]
[TD]130
[/TD]
[/TR]
[TR]
[TD]50
[/TD]
[TD]22
[/TD]
[TD]25
[/TD]
[TD]35
[/TD]
[TD]85
[/TD]
[/TR]
[TR]
[TD]106
[/TD]
[TD]130
[/TD]
[TD]120
[/TD]
[TD]85
[/TD]
[TD]99
[/TD]
[/TR]
[TR]
[TD]120
[/TD]
[TD]115
[/TD]
[TD]160
[/TD]
[TD]55
[/TD]
[TD]96
[/TD]
[/TR]
[TR]
[TD]150
[/TD]
[TD]16
[/TD]
[TD]175
[/TD]
[TD]199
[/TD]
[TD]12
[/TD]
[/TR]
</tbody>[/TABLE]
Hi - I need a macro which needs to fill the colorindex=22 whenever the ACTUAL is lesser than the GOAL.
For eg,
in row 2 - date -07/2,03 & 04 is lesser than the goal. It needs to highlights interior color= 22.