+ Reply to Thread
Results 1 to 6 of 6

Consolidating data to a single page and adjusting formulas

  1. #1
    Registered User
    Join Date
    09-23-2013
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    27

    Consolidating data to a single page and adjusting formulas

    Attached is a very small sample of what I am working with. I'll be completely honest, I am a complete novice when it comes to excel and the use of formulas and all of the formulas currently being used have come through the assistance of other users of this forum and and extreme amount of trial and error. I would even go so far as to say that there probably is an easier way of doing this and not 100% sure that my formulas are completely accurate but it's the best that I have come up with so far. With that said, here is what I'm trying to achieve.

    1. Display the latest pick information and also use this information to determine who needs to still submit a pick.
    2. Display statistical information based on type of pick and it's historical comparison to previous year (using the dates in columns Y & Z to determine)

    When I first started, the group was relatively small, but now it is over 200 members and my original process for updating data was to insert the new data for each of the members on their respective worksheet. My goal is to use the consolidated sheet "Members", in order to avoid the tedious process of having to do so for each of the 200+ worksheets I have in my production file. My issues are as follows:
    1. When using the combined "Members" sheet, how would I be able to pull in the latest pick data for each of the members (i.e. columns B, E, F, G & H on the "Main" sheet)?
    2. How can I average the "Last 10 & Last 20" for each of the members, since my current formula uses the simple formula based on the first 10 and 20 picks in each of the members worksheets?
    3. If I can end up using a single "Members" worksheet, how would I adjust my formulas being used in rows I-V in place of the current use of Indirects?

    I'll stop there and say ahead of time THANK YOU for any and all assistance anyone can provide.
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: Consolidating data to a single page and adjusting formulas

    IS there a need to break the data out into separate sheets like that? The "members" sheet will probably be simpler to work with
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: Consolidating data to a single page and adjusting formulas

    Assuming you can use 1 sheet for all data, I made a bit if a start for you, and added 2 helper columns in Members - these simplify extraction.....
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    09-23-2013
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    27

    Re: Consolidating data to a single page and adjusting formulas

    Thank you again for your assistance, couple of questions.

    1. I noticed in the column O of the members page, it is assigning a year value (presumably from the data in column B) however the actual "year" for the league is based on the date ranges shown on sheet "Main" in Y2 & Y3 for 2016 and Z2 & Z3 for 2015.

    2. Since the member data will need to be consistently updated, my initial thought was to insert that data from an external source into row 2 of the member page each time. So with that said, would I then need to sort by member and most recent date in order to group by member in chronological order? And, if so, how would this affect the data in the rows M, N & O that you created in the "Member" worksheet?

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: Consolidating data to a single page and adjusting formulas

    Quote Originally Posted by sm370 View Post
    1. I noticed in the column O of the members page, it is assigning a year value (presumably from the data in column B) however the actual "year" for the league is based on the date ranges shown on sheet "Main" in Y2 & Y3 for 2016 and Z2 & Z3 for 2015.
    Change the formula for 2016 NFL to this...
    =AVERAGEIFS(Members!$H$2:$H$10000,Members!$A$2:$A$10000,'Main (2)'!$A2,Members!$C$2:$C$10000,"NFL",Members!$B$2:$B$10000,">="&'Main (2)'!$Y$2,Members!$B$2:$B$10000,"<="&'Main (2)'!$Y$3)

    2. Since the member data will need to be consistently updated, my initial thought was to insert that data from an external source into row 2 of the member page each time. So with that said, would I then need to sort by member and most recent date in order to group by member in chronological order? And, if so, how would this affect the data in the rows M, N & O that you created in the "Member" worksheet?
    No, no sorting needed, the data can be in any order

  6. #6
    Registered User
    Join Date
    09-23-2013
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    27

    Re: Consolidating data to a single page and adjusting formulas

    So here are the formulas that I am using and they seem to work, the only problem that I'm having is when I try to sort the all of the references to the member in cell A appear to keep the original A cell value from before sort. I hope that makes sense. Also, I am using the sheet name "NFL" rather than the previous use of "Main", FYI.
    Pick Date =SUMIFS(Members!$B$2:$B$200000,Members!$A$2:$A$200000,NFL!$A2,Members!$M$2:$M$200000,1)

    Last 15 =AVERAGEIFS(Members!$H$2:$H$200000,Members!$A$2:$A$200000,NFL!$A2,Members!$M$2:$M$200000,"<=10")

    Last 30 =AVERAGEIFS(Members!$H$2:$H$200000,Members!$A$2:$A$200000,NFL!$A2,Members!$M$2:$M$200000,"<=20")

    Pick League =INDEX(Members!C$2:C$200000,MATCH(NFL!$A2&NFL!$B2,Members!$N$2:$N$200000,0))

    Pick Game =INDEX(Members!D$2:D$200000,MATCH(NFL!$A2&NFL!$B2,Members!$N$2:$N$200000,0))

    PIck Outcome =INDEX(Members!G$2:G$200000,MATCH(NFL!$A2&NFL!$B2,Members!$N$2:$N$200000,0))

    Pick Line =INDEX(Members!F$2:F$200000,MATCH(NFL!$A2&NFL!$B2,Members!$N$2:$N$200000,0))


    NFL =AVERAGEIFS(Members!$H$2:$H$200000,Members!$A$2:$A$200000,'NFL'!$A2,Members!$C$2:$C$200000,"NFL")

    NFL Picks =COUNTIFS(Members!$A$2:$A$200000,'NFL'!$A2,Members!$C$2:$C$200000,"NFL")

    NFL 2016 =AVERAGEIFS(Members!$H$2:$H$200000,Members!$A$2:$A$200000,'NFL'!$A2,Members!$C$2:$C$200000,"NFL",Members!$B$2:$B$200000,">="&'NFL'!$Y$2,Members!$B$2:$B$200000,"<="&'NFL'!$Y$3)

    2016 NFL PIcks =COUNTIFS(Members!$A$2:$A$200000,'NFL'!$A2,Members!$C$2:$C$200000,"NFL",Members!$B$2:$B$200000,">="&'NFL'!$Y$2,Members!$B$2:$B$200000,"<="&'NFL'!$Y$3)

    2016 Under =AVERAGEIFS(Members!$H$2:$H$200000,Members!$A$2:$A$200000,'NFL'!$A2,Members!$C$2:$C$200000,"NFL",Members!$B$2:$B$200000,">="&'NFL'!$Y$2,Members!$B$2:$B$200000,"<="&'NFL'!$Y$3,Members!$I$2:$i$200000,"True")

    2016 Over =AVERAGEIFS(Members!$H$2:$H$200000,Members!$A$2:$A$200000,'NFL'!$A2,Members!$C$2:$C$200000,"NFL",Members!$B$2:$B$200000,">="&'NFL'!$Y$2,Members!$B$2:$B$200000,"<="&'NFL'!$Y$3,Members!$J$2:$j$200000,"True")

    2016 Dog =AVERAGEIFS(Members!$H$2:$H$200000,Members!$A$2:$A$200000,'NFL'!$A2,Members!$C$2:$C$200000,"NFL",Members!$B$2:$B$200000,">="&'NFL'!$Y$2,Members!$B$2:$B$200000,"<="&'NFL'!$Y$3,Members!$K$2:$k$200000,"True")

    2016 Fav =AVERAGEIFS(Members!$H$2:$H$200000,Members!$A$2:$A$200000,'NFL'!$A2,Members!$C$2:$C$200000,"NFL",Members!$B$2:$B$200000,">="&'NFL'!$Y$2,Members!$B$2:$B$200000,"<="&'NFL'!$Y$3,Members!$L$2:$l$200000,"True")

    NFL 2015 =AVERAGEIFS(Members!$H$2:$H$200000,Members!$A$2:$A$200000,'NFL'!$A2,Members!$C$2:$C$200000,"NFL",Members!$B$2:$B$200000,">="&'NFL'!$Y$2,Members!$B$2:$B$200000,"<="&'NFL'!$Y$3)

    2015 NFL PIcks =COUNTIFS(Members!$A$2:$A$200000,'NFL'!$A2,Members!$C$2:$C$200000,"NFL",Members!$B$2:$B$200000,">="&'NFL'!$z$2,Members!$B$2:$B$200000,"<="&'NFL'!$z$3)

    2015 Under =AVERAGEIFS(Members!$H$2:$H$200000,Members!$A$2:$A$200000,'NFL'!$A2,Members!$C$2:$C$200000,"NFL",Members!$B$2:$B$200000,">="&'NFL'!$z$2,Members!$B$2:$B$200000,"<="&'NFL'!$z$3,Members!$I$2:$i$200000,"True")

    2015 Over =AVERAGEIFS(Members!$H$2:$H$200000,Members!$A$2:$A$200000,'NFL'!$A2,Members!$C$2:$C$200000,"NFL",Members!$B$2:$B$200000,">="&'NFL'!$z$2,Members!$B$2:$B$200000,"<="&'NFL'!$z$3,Members!$J$2:$j$200000,"True")

    2015 Dog =AVERAGEIFS(Members!$H$2:$H$200000,Members!$A$2:$A$200000,'NFL'!$A2,Members!$C$2:$C$200000,"NFL",Members!$B$2:$B$200000,">="&'NFL'!$z$2,Members!$B$2:$B$200000,"<="&'NFL'!$z$3,Members!$K$2:$k$200000,"True")

    2015 Fav =AVERAGEIFS(Members!$H$2:$H$200000,Members!$A$2:$A$200000,'NFL'!$A2,Members!$C$2:$C$200000,"NFL",Members!$B$2:$B$200000,">="&'NFL'!$z$2,Members!$B$2:$B$200000,"<="&'NFL'!$z$3,Members!$L$2:$l$200000,"True")

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Removing Duplicates and Consolidating Data in A Single Row
    By jawahar-gf in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-08-2014, 12:52 PM
  2. Removing Duplicates and Consolidating Data in A Single Row
    By jawahar-gf in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-21-2014, 05:16 PM
  3. Replies: 4
    Last Post: 04-16-2014, 03:12 AM
  4. Replies: 0
    Last Post: 10-24-2013, 05:04 AM
  5. Replies: 1
    Last Post: 03-26-2010, 11:18 AM
  6. Consolidating multiple rows of data into single row
    By fredenbp4 in forum Excel General
    Replies: 3
    Last Post: 11-05-2009, 01:14 AM
  7. Replies: 3
    Last Post: 02-13-2008, 06:28 PM

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