Back with more for you smartypants moderators. Still haven't quite gotten the hang of array formulas, so that's probably going to be part of the solution here. I've got several different sheets going on in this statistics workbook, and am trying to record all the results on one sheet, and then another sheet breaks down the team-by-team comparisons. As far as I know, this is the final formula that I need for the document to run itself. To make matters worse, I'm pretty sure I had the solution earlier with some testing and for whatever godforsaken reason, I deleted it and forgot to save it for later...and of course, my future attempts have yielded nothing I need. So here goes, and it may help to look at the screenshots I took. Ignore any color schemes going on, those are conditionals for another purpose:
TeamResults.png (The sheet I'm working in)
Those various values in the lower-right portion are all manually entered, but it's gotten tedious for several hundred teams. So that's where this thread comes in.
Sweet16.jpg (The "Average Seed" sheet)
I need a formula that will search column-by-column for a certain team name AND distinguish between what seed they were when they won. Here's what I've gotten so far, and as usual, I've limited myself to a single column when I need it to cover the entire table.
=SUM(('Average Seed'!$DM$2:$DM$29=T(INDEX($Y$3:$Y$167, ROW()-2)))*('Average Seed'!$DL$2:$DL$29=VALUE(INDEX($AF$1:$AU$1, 1, COLUMN()-31))))
and then CMD-SHIFT-ENTER to create the array formula
So currently, if this were applied to the number of 1-seeds that Georgetown has, it would return a 2, even though there is still 1 more in the next section that isn't being evaluated (3rd from the bottom)
• 'Average Seed'!$DM$2:$DM$29 is the 2nd column in the Sweet16 pic that starts at Kentucky and goes down to Georgetown.
• 'Average Seed'!$DL$2:$DL$29 is the leftmost column in the Sweet16 pic. It is meant to label a seed with the corresponding team to the right.
These are the two that I need to be able to look over the entire table for matches.
• T(INDEX($Y$3:$Y$167,ROW()-2)) is my formula that uses the current cell and searches the index of teams for the one in the same row (in the TeamResults pic, the "2" under the 8-seed would be paired with "North Carolina".)
• $AF$1:$AU$1 is the row array on the top of the TeamResults pic from 1 to 16.
Sorry for the overly convoluted question.I just figured that you guys would benefit from as much detail as possible. I expect an overly complex but obvious formula full of IF-within-IF-within-IF statements to probably have something to do with the solution that I've just been overlooking. Thanks as always, you guys are a huge help for my mindless nerdiness.
Bookmarks