I've used the following formula to look up a category for a selection of different values:
=LOOKUP(Q6,'Dropdown boxes and lookup tabs'!$C$13:$D$23)
I know that I haven't input the values incorrectly as the cell I'm referencing (Q6 above) is from a dropdown list that uses the same cells as the lookup array, so there CAN'T be typos or whatever causing the difficulty.
The formula is working for some cells but not for others. There's no theme, ie it sometimes works for a cell that contains the text 'Expulsion' and sometimes doesn't.
I've carefully examined the contents of each cell to see if the formula has changed in the copying but other than the reference cell, it doesn't.
Can anyone think of something that might be going wrong?
Thanks in advance for all suggestions.
Just to add - I've just noticed it's actually returning the wrong values, for example it's looking up cell C16 and returning the value that's in cells D17 and D18 rather than the once in C16 that I want it to return.
STOP PRESS: I seem to have sorted it by moving the lookup array into the first and second columns and sorting the first column by A-Z. I don't really understand why that should've sorted it but it seems to have done - it would be useful if anyone could explain why that worked?