I don’t understand what you mean by ‘I want a colgroup to affect the third column’.
A table can contain declarations of zero or more column groups.
If no explicit column group is declared, there will be one implicit column group comprising all columns.
For each column group, you can declare one or more columns, either using <col> tags or using a span attribute in the <colgroup> tag.
If a column group doesn’t contain any column declarations and has no span attribute, it will contain one implicit column.
Example #1, one implicit column group with three columns:
<table>
<col>
<col>
<col>
...
</table>
Example #2, three explicit column groups with two, one and three columns, respectively:
So saying that a column group should ‘affect’ a specific column doesn’t make sense.
A column belongs to a column group; a group doesn’t ‘affect’ a column, it contains it.
If you have three columns, you can have one, two or three column groups.
From your description it sounds as if you have two groups, where the first group contains two columns and the second group contains one column. This is one way you can declare that,