I'm trying to sum up the vlookup results of several sheets (all with the same layout). I can get the vlookup to work if I specify the sheet name & record each sheets result in a new column, but I've been trying to use indirect with a list of the sheets, but not having any luck so far.
My score sheet looks like this & I'm trying to Sum up the Round point / Column O across several sheets. I'm using a vlookup as the people named in column A will vary.
If I use the formula below I can record each persons result from the sheet specified.
& I can get all the scores summed up if I manually specify all the sheets, (but this gets quite complex & prone to mistakes if there are lots of sheets)
I've tried using SUM / INDEX / MATCH / INDIRECT but not having any luck (Note SheetList is a worksheet containing the names of the sheets in A1:A7)
My score sheet looks like this & I'm trying to Sum up the Round point / Column O across several sheets. I'm using a vlookup as the people named in column A will vary.
Scoresheet.xlsm | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | |||
1 | Round 1 | Round 2 | Round 3 | Round 4 | Total | Position / Rank | Round Position | Round Points | |||||||||
2 | Name | Bells | Score | Bells | Score | Bells | Score | Bells | Score | Bells | Score | ||||||
3 | 1 | Mic | 3 | 5 | 2 | 4 | 1 | 3 | 4 | 6 | 10 | 18 | 10 | Second | 2 | ||
4 | 2 | Mel | 2 | 4 | 1 | 5 | 2 | 2 | 3 | 4 | 8 | 15 | 7 | 0 | |||
5 | 3 | Mary | 2 | 3 | 2 | 5 | 4 | 5 | 2 | 5 | 10 | 18 | 10 | Second | 2 | ||
6 | 4 | John | 1 | 5 | 1 | 3 | 2 | 4 | 0 | 2 | 4 | 14 | 4 | 0 | |||
7 | |||||||||||||||||
8 | 1 | Clive | 3 | 4 | 2 | 2 | 2 | 2 | 2 | 2 | 9 | 10 | 2 | 0 | |||
9 | 2 | Fred | 1 | 5 | 0 | 3 | 2 | 3 | 3 | 4 | 6 | 15 | 6 | 0 | |||
10 | 3 | Bob | 2 | 5 | 2 | 2 | 4 | 5 | 2 | 5 | 10 | 17 | 9 | Third | 1 | ||
11 | 4 | Mo | 2 | 3 | 0 | 5 | 0 | 2 | 2 | 5 | 4 | 15 | 5 | 0 | |||
12 | |||||||||||||||||
13 | 1 | Mark | 1 | 3 | 1 | 1 | 2 | 5 | 3 | 4 | 7 | 13 | 3 | 0 | |||
14 | 2 | Gary | 3 | 4 | 1 | 2 | 1 | 1 | 1 | 2 | 6 | 9 | 1 | 0 | |||
15 | 3 | Harry | 2 | 6 | 2 | 3 | 2 | 6 | 2 | 6 | 8 | 21 | 12 | First | 3 | ||
16 | 4 | jerry | 2 | 3 | 2 | 5 | 2 | 4 | 2 | 4 | 8 | 16 | 8 | 0 | |||
Shoot_6 |
If I use the formula below I can record each persons result from the sheet specified.
Excel Formula:
=(IFNA(VLOOKUP($A3,Shoot_6!$B$3:$O$31,14,0),0))
& I can get all the scores summed up if I manually specify all the sheets, (but this gets quite complex & prone to mistakes if there are lots of sheets)
Excel Formula:
=SUM(IFNA(INDEX(Shoot_1!$B$3:$O$31,MATCH(A3,Shoot_1!$B$3:$B$31,0),14),0),IFNA(INDEX(Shoot_2!$B$3:$O$31,MATCH(A3,Shoot_2!$B$3:$B$31,0),14),0),IFNA(INDEX(Shoot_3!$B$3:$O$31,MATCH(A3,Shoot_3!$B$3:$B$31,0),14),0))
I've tried using SUM / INDEX / MATCH / INDIRECT but not having any luck (Note SheetList is a worksheet containing the names of the sheets in A1:A7)
Excel Formula:
=SUM(INDEX(INDIRECT(SheetList!$A$1:$A$7&"!$B$3:$O$31"),MATCH(A3,INDIRECT(SheetList!$A$1:$A$7&"!$B$3:$B$31"),0),14))