Hello,
I'm trying to make a formula like this in order to refer to scores in my "Scores" sheet form a different sheet:
=INDEX(Scores!$A$1:$AP$55,MATCH($A5,Scores!$A$2:$A$55,0),INDIRECT("Scores!"&"COLUMN((TODAY()-WEEKDAY(TODAY(),2)+5))"))
But I can't get the bold part to work correctly in terms of indicating the column number in the INDEX function. In this example, the formula is trying to refer to the column of the current week using
Thanks for any input!
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]08/24/2018[/TD]
[TD]08/17/2018[/TD]
[TD]08/10/2018[/TD]
[TD]08/03/2018[/TD]
[TD]07/27/2018[/TD]
[TD]etc.[/TD]
[/TR]
[TR]
[TD]student1[/TD]
[TD]96[/TD]
[TD]87[/TD]
[TD]93[/TD]
[TD]91[/TD]
[TD]80[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]student2[/TD]
[TD]78[/TD]
[TD]81[/TD]
[TD]84[/TD]
[TD]90[/TD]
[TD]86[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]student3[/TD]
[TD]87[/TD]
[TD]93[/TD]
[TD]90[/TD]
[TD]95[/TD]
[TD]99[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]etc.[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I'm trying to make a formula like this in order to refer to scores in my "Scores" sheet form a different sheet:
=INDEX(Scores!$A$1:$AP$55,MATCH($A5,Scores!$A$2:$A$55,0),INDIRECT("Scores!"&"COLUMN((TODAY()-WEEKDAY(TODAY(),2)+5))"))
But I can't get the bold part to work correctly in terms of indicating the column number in the INDEX function. In this example, the formula is trying to refer to the column of the current week using
TODAY()-WEEKDAY(TODAY(),2)+5)
Thanks for any input!
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]08/24/2018[/TD]
[TD]08/17/2018[/TD]
[TD]08/10/2018[/TD]
[TD]08/03/2018[/TD]
[TD]07/27/2018[/TD]
[TD]etc.[/TD]
[/TR]
[TR]
[TD]student1[/TD]
[TD]96[/TD]
[TD]87[/TD]
[TD]93[/TD]
[TD]91[/TD]
[TD]80[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]student2[/TD]
[TD]78[/TD]
[TD]81[/TD]
[TD]84[/TD]
[TD]90[/TD]
[TD]86[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]student3[/TD]
[TD]87[/TD]
[TD]93[/TD]
[TD]90[/TD]
[TD]95[/TD]
[TD]99[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]etc.[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]