Hi
I've made an example of my issue and tried to keep it as simple as I can. Let's say there has been exams and children get their grades (in Sheet 2):
Name_____Subject____Grade____Comment
Tom______Geography__G_______Poor
Tom______Art________A_______Great
Tom______English_____B_______Good
I want to change these automatically with lookups into (Sheet 1):
Name ____Art____ English____Geography
Tom _____ A ____ B________ G
But my lookups only pick up the first "Tom" meaning it makes (Sheet 1):
Name____ Art______ English______Geography
Tom__________________________ G
It therefore ignores the second two "Tom"'s
Code I use is: =IF(VLOOKUP($A$2,Sheet2!$A$1:$D$4,2,FALSE)=D$1,VLOOKUP($A$2,Sheet2!$A$1:$D$4,3,FALSE),"")
Any help here? Would be superb if you could help!
Thanks, G
I've made an example of my issue and tried to keep it as simple as I can. Let's say there has been exams and children get their grades (in Sheet 2):
Name_____Subject____Grade____Comment
Tom______Geography__G_______Poor
Tom______Art________A_______Great
Tom______English_____B_______Good
I want to change these automatically with lookups into (Sheet 1):
Name ____Art____ English____Geography
Tom _____ A ____ B________ G
But my lookups only pick up the first "Tom" meaning it makes (Sheet 1):
Name____ Art______ English______Geography
Tom__________________________ G
It therefore ignores the second two "Tom"'s
Code I use is: =IF(VLOOKUP($A$2,Sheet2!$A$1:$D$4,2,FALSE)=D$1,VLOOKUP($A$2,Sheet2!$A$1:$D$4,3,FALSE),"")
Any help here? Would be superb if you could help!
Thanks, G
Last edited: