This is a bit embarrassing as I'm sure I've found the solution to this before, but can't remember how I did it:
Anyway, I have a table with
School a --- Subject 1 --- Score
School b --- Subject 1 --- Score
School c --- Subject 1 --- Score
School a --- Subject 2 --- Score
School d --- Subject 2 --- Score
School e --- Subject 2 --- Score
etc
I need to insert the 'score' values into another table using a vlookup. How can I do this using the School as the lookup value ONLY IF the subject matches? The table is ordered in subject order, so I could go down pasting vlookups with different arrays pointing it to only the scores and schools for that subject. But I know there's a better way of getting the array to change based on the subject number.
Thanks
Anyway, I have a table with
School a --- Subject 1 --- Score
School b --- Subject 1 --- Score
School c --- Subject 1 --- Score
School a --- Subject 2 --- Score
School d --- Subject 2 --- Score
School e --- Subject 2 --- Score
etc
I need to insert the 'score' values into another table using a vlookup. How can I do this using the School as the lookup value ONLY IF the subject matches? The table is ordered in subject order, so I could go down pasting vlookups with different arrays pointing it to only the scores and schools for that subject. But I know there's a better way of getting the array to change based on the subject number.
Thanks