Hey Guys,
Got a tough one for you.
I have been looking all morning trying to solve this problem to no avail.
I guess most people hardcode sheet references instead of making there worksheet formulas dynamic.
Here is my situation. I have a two worksheets. The first is called TestScores. The following worksheet is called John. I plan to add a worksheet for each student.
In A2:A20 of the TestScores the value of the cell will be the name or number of the students(ex: John, Mary, ChrisC, ChrisR, 01, 02, etc.)
I would like to use the value in column A to determine the worksheet to look into while in column B it will show the value of their test score.
So in the TestScores worksheet it should look like the following:
<tbody>
</tbody>
And in 1's worksheet it would look like:
<tbody>
</tbody>
The formula I was going to use in B2:B20 was going to be something along the lines of:
The reason for the LEFT is to strip out the "-". I understand that the 01 is a special format, but the additional worksheet tab names are 1, 2, 3, .....10, 11, etc.
Thanks in advance for your help
later
Ty
Got a tough one for you.
I have been looking all morning trying to solve this problem to no avail.
I guess most people hardcode sheet references instead of making there worksheet formulas dynamic.
Here is my situation. I have a two worksheets. The first is called TestScores. The following worksheet is called John. I plan to add a worksheet for each student.
In A2:A20 of the TestScores the value of the cell will be the name or number of the students(ex: John, Mary, ChrisC, ChrisR, 01, 02, etc.)
I would like to use the value in column A to determine the worksheet to look into while in column B it will show the value of their test score.
So in the TestScores worksheet it should look like the following:
A | B | C | |
1 | Name | Score | |
2 | 01- | 95 | |
3 | 02- | 65 | |
4 | 03- | 22 | |
5 | 04- | 18 | |
6 | 05- |
<tbody>
</tbody>
And in 1's worksheet it would look like:
A | B | |
1 | Test 1 | 95 |
2 | ||
3 | ||
4 | ||
5 | ||
6 |
<tbody>
</tbody>
The formula I was going to use in B2:B20 was going to be something along the lines of:
Code:
=IF((LEFT(A2,2)&"'"&!B2)=0, "Unknown",(LEFT(A2,2)&"'"!B2)
The reason for the LEFT is to strip out the "-". I understand that the 01 is a special format, but the additional worksheet tab names are 1, 2, 3, .....10, 11, etc.
Thanks in advance for your help
later
Ty