+ Reply to Thread
Results 1 to 5 of 5

Read another sheet

  1. #1
    Registered User
    Join Date
    11-18-2010
    Location
    Minneapolis, Minnesota
    MS-Off Ver
    Excel 2007
    Posts
    12

    Read another sheet

    I want to do a Points For and Points Against calculation. i got the Points For to work. But now I need the points against. I want it to read the cell above or below the cell that contains the team. If that possible? See attached.
    Attached Files Attached Files

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,267

    Re: Read another sheet

    Hi tex3285,

    I have an easy answer. Why not Insert a column H on all your Week sheets. Call this column PA (Points Against) and simply reverse the total scores. You could do it in a formula even. Then use the similar/same formula you created to grab PF to grab PA.

    Another question. Does your formula only do a single week? I was thinking you'd like a current week total of all points scored and all points given.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,267

    Re: Read another sheet

    Hi tex3285,

    I can't leave the question without showing you how I'd do this problem. You've done a lot of work building the week tabs but I'd put all games, for all weeks on a single week tab. See Week 1 Tab for my method.

    I've also created a Lookup table on the Formulas sheet so I can lookup the League each team is in. I've add a Points Against column as I suggested above.

    Then for the big reason for making the data look different - Pivot Tables. I have two of them on the Records Tab. One showing the Win/Loss records and a second showing the Points For and Points Against totals.

    Using the Week Filter or or League filter on the Pivot Tables you can do all your record keeping. The secret is to have all games in a single bigger table with columns of Week Number, Game Number and League included on each line.

    With a pivot table the average points scored for or against is as easy to do as the total. The win percentage is also just as easy. You've worked much too hard building many sheets. A single sheet and then using Pivots would be much easier.

    I hope this gives you some ideas on how a geek would do this problem. Any questions - feel free to ask.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    11-18-2010
    Location
    Minneapolis, Minnesota
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Read another sheet

    Quote Originally Posted by MarvinP View Post
    Hi tex3285,

    I can't leave the question without showing you how I'd do this problem. You've done a lot of work building the week tabs but I'd put all games, for all weeks on a single week tab. See Week 1 Tab for my method.

    I've also created a Lookup table on the Formulas sheet so I can lookup the League each team is in. I've add a Points Against column as I suggested above.

    Then for the big reason for making the data look different - Pivot Tables. I have two of them on the Records Tab. One showing the Win/Loss records and a second showing the Points For and Points Against totals.

    Using the Week Filter or or League filter on the Pivot Tables you can do all your record keeping. The secret is to have all games in a single bigger table with columns of Week Number, Game Number and League included on each line.

    With a pivot table the average points scored for or against is as easy to do as the total. The win percentage is also just as easy. You've worked much too hard building many sheets. A single sheet and then using Pivots would be much easier.

    I hope this gives you some ideas on how a geek would do this problem. Any questions - feel free to ask.
    That works great, but I like the look I have in the orginial. But I'm going to take some things from it and use it. I'm going to use your first response and use that. Thanks for the help.

  5. #5
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,267

    Re: Read another sheet

    Hi tex3285,

    I'm glad I could suggest something useful (like a PA column).

    I admit you have a lot of work into your structure and that formula to pull from a variable worksheet is pretty amazing.

    I just didn't see how you were going to accumulate multiple weeks into a single answer. This is why I went with my structure and pivot tables. If you did you could see the total or average points scored for and agains any given team, or league. You could also see if more points were being scored per week. I started to put each week's tab on a single sheet. If you were going to use my idea I was ready to chop all your week sheets into a single table. I had a method to do it but was still going to take an hour to get all sheets moved. I didn't want to spend the time if it didn't make sense to you.

    Thanks for the reply and update. BTW - I stopped watching NY last night and couldn't believe they won this morning.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1