Is there a formula that can do the following for me:
I have 270 students with four humanities subjects, Humanities, Geography, History and Beliefs, Philosophy & Ethics. For each student there has been a target grade entered for the subject Humanities , I want to use a formula that will look at the Student Id, then look at the humanities grade entered and then populate the target grade field for Geography, History and Beliefs, Philosophy and Ethics for that student with the same target grade entered for Humanities. see tables below and I have attached an example file
[TABLE="width: 568"]
cid
year
tg
house
subject
tgroup
target
A09314
9
9T2
Thoresby
Beliefs, Philosophy & Ethics
9y/Bp1
A09314
9
9T2
Thoresby
Geography
9y/Gg1
A09314
9
9T2
Thoresby
History
9y/Hi1
A09314
9
9T2
Thoresby
Humanities
9y/Hu1
7c
[/TABLE]
Look at theCID as that’s unique to that student, then look for the Humanities subject andits relevant target grade, then populate the three blank humanities subjects withthe same target grade that has been entered for Humanities, end result seebelow.
[TABLE="width: 560"]
cid
year
tg
house
subject
tgroup
target
A09314
9
9T2
Thoresby
Beliefs, Philosophy & Ethics
9y/Bp1
7c
A09314
9
9T2
Thoresby
Geography
9y/Gg1
7c
A09314
9
9T2
Thoresby
History
9y/Hi1
7c
A09314
9
9T2
Thoresby
Humanities
9y/Hu1
7c
[/TABLE]