I have the following...
for the table...
My code gets me to the "loss"column which is 5 columns to the right of column A but I am picking up the Career Loss total which is 78 and pasting it into cell U3. I want to sum the entire range beginning beginning at Cell E3 (which is the cell directly under the 'L" in losses down to (and including) the losses for 2016-17 (BUT NOT 2017-18), and then taking that total value and pasting it into Cell U3. The value should be 75. Please note that for different coaches for longer and shorter careers the number of rows would obviously be different, so I am using this as a template but it will apply to others.
Thank you very very much in advance. Sorry for having trouble with this one.
Code:
Range("A3").End(xlDown).Offset(0, 5).Select
ActiveCell.Copy
Range("U3").PasteSpecial
for the table...
Code:
[TABLE="width: 736"]
<tbody>[TR]
[TD]Joe Golding (13-16)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Season[/TD]
[TD]School[/TD]
[TD]Conf[/TD]
[TD]G[/TD]
[TD]W[/TD]
[TD]L[/TD]
[TD]W-L%[/TD]
[TD]SRS[/TD]
[TD]SOS[/TD]
[TD]AP Pre[/TD]
[TD]AP High[/TD]
[TD]AP Final[/TD]
[TD]Notes[/TD]
[/TR]
[TR]
[TD]2013-14[/TD]
[TD]Abilene Christian[/TD]
[TD]Southland[/TD]
[TD="align: right"]31[/TD]
[TD="align: right"]11[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]0.355[/TD]
[TD="align: right"]-19.6[/TD]
[TD="align: right"]-4.12[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2014-15[/TD]
[TD]Abilene Christian[/TD]
[TD]Southland[/TD]
[TD="align: right"]31[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]21[/TD]
[TD="align: right"]0.323[/TD]
[TD="align: right"]-17.2[/TD]
[TD="align: right"]-6.34[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2015-16[/TD]
[TD]Abilene Christian[/TD]
[TD]Southland[/TD]
[TD="align: right"]31[/TD]
[TD="align: right"]13[/TD]
[TD="align: right"]18[/TD]
[TD="align: right"]0.419[/TD]
[TD="align: right"]-13.93[/TD]
[TD="align: right"]-7.53[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2016-17[/TD]
[TD]Abilene Christian[/TD]
[TD]Southland[/TD]
[TD="align: right"]29[/TD]
[TD="align: right"]13[/TD]
[TD="align: right"]16[/TD]
[TD="align: right"]0.448[/TD]
[TD="align: right"]-11.86[/TD]
[TD="align: right"]-7.1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2017-18[/TD]
[TD]Abilene Christian[/TD]
[TD]Southland[/TD]
[TD="align: right"]7[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]0.571[/TD]
[TD="align: right"]-10.85[/TD]
[TD="align: right"]-6.45[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Career[/TD]
[TD]Abilene Christian[/TD]
[TD][/TD]
[TD="align: right"]129[/TD]
[TD="align: right"]51[/TD]
[TD="align: right"]78[/TD]
[TD="align: right"]0.395[/TD]
[TD="align: right"]-14.69[/TD]
[TD="align: right"]-6.31[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
My code gets me to the "loss"column which is 5 columns to the right of column A but I am picking up the Career Loss total which is 78 and pasting it into cell U3. I want to sum the entire range beginning beginning at Cell E3 (which is the cell directly under the 'L" in losses down to (and including) the losses for 2016-17 (BUT NOT 2017-18), and then taking that total value and pasting it into Cell U3. The value should be 75. Please note that for different coaches for longer and shorter careers the number of rows would obviously be different, so I am using this as a template but it will apply to others.
Thank you very very much in advance. Sorry for having trouble with this one.
Last edited: