JakeSherlock
New Member
- Joined
- May 28, 2014
- Messages
- 6
So. We have a file and in that file is a list. and in that list are numbers that are conditionally formatted based on what the number is. And some of those numbers are underlined as the numbers that need to be pulled for counting. I need to total up how many are underlined based on what colour they are.
Example;
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD="align: center"]256[/TD]
[TD="align: center"]246[/TD]
[TD="align: center"]267[/TD]
[/TR]
[TR]
[TD="align: center"]359[/TD]
[TD="align: center"]302[/TD]
[TD="align: center"]354[/TD]
[/TR]
[TR]
[TD="align: center"]225[/TD]
[TD="align: center"]222[/TD]
[TD="align: center"]233[/TD]
[/TR]
[TR]
[TD="align: center"]65[/TD]
[TD="align: center"]54[/TD]
[TD="align: center"]41[/TD]
[/TR]
[TR]
[TD="align: center"]358[/TD]
[TD="align: center"]342[/TD]
[TD="align: center"]328[/TD]
[/TR]
</tbody>[/TABLE]
2 total
2 total
1 total
Now I thought that maybe I could use IF, but I am unaware of what IF statement may be used for formatting based IFs.? If IF is the right IF? If we are going to use VBS, I'm a noob and may not understand lingo.
Thanks for help in advance.
-Jake
Example;
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD="align: center"]256[/TD]
[TD="align: center"]246[/TD]
[TD="align: center"]267[/TD]
[/TR]
[TR]
[TD="align: center"]359[/TD]
[TD="align: center"]302[/TD]
[TD="align: center"]354[/TD]
[/TR]
[TR]
[TD="align: center"]225[/TD]
[TD="align: center"]222[/TD]
[TD="align: center"]233[/TD]
[/TR]
[TR]
[TD="align: center"]65[/TD]
[TD="align: center"]54[/TD]
[TD="align: center"]41[/TD]
[/TR]
[TR]
[TD="align: center"]358[/TD]
[TD="align: center"]342[/TD]
[TD="align: center"]328[/TD]
[/TR]
</tbody>[/TABLE]
2 total
2 total
1 total
Now I thought that maybe I could use IF, but I am unaware of what IF statement may be used for formatting based IFs.? If IF is the right IF? If we are going to use VBS, I'm a noob and may not understand lingo.
Thanks for help in advance.
-Jake