I am having trouble coming up with code that will scan the column headers, strings, and then apply the specific conditional formatting based on values in that column. The order of the columns can vary depending on how individuals pull the report. I want the formatting consistent despite the order of the columns. That's why I want it based on the header. Sometimes only certain items will be pulled and the codes needs to be able to ignore what doesn't need formatting. Dynamic in other words.
Here is an example though the sheet I'm building though it will likely have 10-15 columns :
[TABLE="width: 256"]
<tbody>[TR]
[TD="width: 64"]Name[/TD]
[TD="width: 64"]Score[/TD]
[TD="width: 64"]Transfers[/TD]
[TD="width: 64"]Length[/TD]
[/TR]
[TR]
[TD]Bob[/TD]
[TD="align: right"]400[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]55[/TD]
[/TR]
[TR]
[TD]Sally[/TD]
[TD="align: right"]550[/TD]
[TD="align: right"]15[/TD]
[TD="align: right"]31[/TD]
[/TR]
[TR]
[TD]Susie[/TD]
[TD="align: right"]325[/TD]
[TD="align: right"]8[/TD]
[TD="align: right"]40[/TD]
[/TR]
[TR]
[TD]Raymond[/TD]
[TD="align: right"]600[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]88[/TD]
[/TR]
[TR]
[TD]James[/TD]
[TD="align: right"]499[/TD]
[TD="align: right"]17[/TD]
[TD="align: right"]28[/TD]
[/TR]
</tbody>[/TABLE]
Here is an example though the sheet I'm building though it will likely have 10-15 columns :
[TABLE="width: 256"]
<tbody>[TR]
[TD="width: 64"]Name[/TD]
[TD="width: 64"]Score[/TD]
[TD="width: 64"]Transfers[/TD]
[TD="width: 64"]Length[/TD]
[/TR]
[TR]
[TD]Bob[/TD]
[TD="align: right"]400[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]55[/TD]
[/TR]
[TR]
[TD]Sally[/TD]
[TD="align: right"]550[/TD]
[TD="align: right"]15[/TD]
[TD="align: right"]31[/TD]
[/TR]
[TR]
[TD]Susie[/TD]
[TD="align: right"]325[/TD]
[TD="align: right"]8[/TD]
[TD="align: right"]40[/TD]
[/TR]
[TR]
[TD]Raymond[/TD]
[TD="align: right"]600[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]88[/TD]
[/TR]
[TR]
[TD]James[/TD]
[TD="align: right"]499[/TD]
[TD="align: right"]17[/TD]
[TD="align: right"]28[/TD]
[/TR]
</tbody>[/TABLE]