NFL Spreadsheet stat pasting problem

kennybak

New Member
Joined
May 28, 2002
Messages
33
Trying to auto-update NFL stats (PF) and (PA) on my NFL spreadsheet.

__A___B__C____D______E____
1 115 207 15 =A1+C1 =B1+C2
2 148 202 28 =A2+C2 =B2+C1
|
|
(Repeat for other 13 games)

After the game between teams 1 and 2, A1(PF) and B1(PA) change
depending on the score of the game (C1 is team 1's score and C2
is team 2's score). I want to paste special as values columns D and E
over columns A and B.

How do I 1) avoid circular reference and 2) clear columns D and E
(except for the formulas) immediately after the values are pasted to
columns A to B to prevent the new pasted values from being acted on
again in columns D and E?

Of course, maybe there is an easier way to perform these calculations.

Apprciate any help from the forum.

Ken
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
After entering the values in the range A1:C2, and the formulas in the range D1:E2, with the cursor in D1, hold the shift key down and highlight the range D1:E2. Do a Copy (I use Ctrl+c), go to A1, click on Edit, Paste Special, Values, OK. Yes, you don't want D1:E2 to show a new, recaclulated value. My only suggestion is to just don't take them into account. But, if they bother you, why not place the formulas in the range G1:H2, so they will be further away, or in a similar range beyond the normally visible part of the sheet, so they wll be out of sight?

I could suggest deleting D1:E2 after pasting in A1:B2, but, I assume you wish to use the formulas over and over, so, this would not be an option.

Please let us know if this helps you out, or if you requiere more help.
 
Upvote 0
kennybak said:
Trying to auto-update NFL stats (PF) and (PA) on my NFL spreadsheet.

__A___B__C____D______E____
1 115 207 15 =A1+C1 =B1+C2
2 148 202 28 =A2+C2 =B2+C1
|
|
(Repeat for other 13 games)

After the game between teams 1 and 2, A1(PF) and B1(PA) change
depending on the score of the game (C1 is team 1's score and C2
is team 2's score). I want to paste special as values columns D and E
over columns A and B.

How do I 1) avoid circular reference and 2) clear columns D and E
(except for the formulas) immediately after the values are pasted to
columns A to B to prevent the new pasted values from being acted on
again in columns D and E?

Of course, maybe there is an easier way to perform these calculations.

Apprciate any help from the forum.

Ken

Ken,

Far fetched idea. What you can do is record a macro that copies D and E paste special D and E and A and B, enter the formula again in D and E.
 
Upvote 0
Brian has hit the labor-saving idea right on the head! Very good!

Now, as to the other little problem, that you don't want to see the intermediate work-cells D1:E2 change as you update A1:B2, just don't write the formulas in D1:E2 at all, to begin with! Just begin your macro by entering the formulas in D1:E2, then do the Copy of D1:E2, do the Paste Special, Values in A1, and delete D1:E2!
 
Upvote 0
Ken,

A more "prudent" way would be to have a "Score" sheet and "Summary" sheet. Per your example, team 1 and 2 would not play each other every week, but 1 would play 3 and 4 etc. so you'd need to change that layout quite often. You could enter scores in the "Score" sheet and use a Sum or Sumif on the "Summary" sheet. You'd also have a record of the score by each week.
 
Upvote 0
RalphA and Brian,

Thanks for looking at the past unanswered posts and replying to mine. I had gotten discouraged and thought that my subject was either too vague or that it was just not interesting enough to be answered.

I am updating Week 14 now and will examine the solutions you have provided for updating the PF and PA stats.

Ken
 
Upvote 0
2002 Regional.xls
ABCDEFGHIJKLMN
2AmericanWLRARDNationalWLRARD
3West Point (MS) P#212413413Omaha (NE) P#1322315
4League City (TX) P#5542226-13Jonesboro (AR) P#212237-2
5Blue Springs (MO) P#4991217-9Springfield (MO) P#691222-8
6Gonzales (LA) P#8112163Edmond (OK) P#11112191
7
8GameDateTeamRRDTeamRRDTimePool
918/15Gonzales (LA) P#814-1vsLeague City (TX) P#5545110:00aAm
1028/15Omaha (NE) P#141vsJonesboro (AR) P#213-11:00pNat
1138/15Springfield (MO) P#6942vsEdmond (OK) P#1112-25:00pNat
1248/15West Point (MS) P#2121010vsBlue Springs (MO) P#4990-108:00pAm
Scores-Standings


Take a look at this, I think it shows what you're trying to do.
I think Brian is describing something similar to this.
W=Wins L=Loses RA=Runs Allowed RD=Run Differential
Runs Scored can also be done.
dandyrandy
 
Upvote 0

Forum statistics

Threads
1,214,413
Messages
6,119,374
Members
448,888
Latest member
Arle8907

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top