I've hit a bit of a brick wall in my Excel-ing. Below is the example and explanation.
Column A | Column B | Column C | Column D
_ Name _ | _ Date ._ | _ Cost .._ | _ Code _
Column A | Column B
_ Code _ | _ CodeDesc
What I would like to do in Column E of Sheet 1 is test the code in Column D against Column A in Sheet 2.
For example: if Sheet1!D4 equals anything in the range of Sheet2!A:A - say A37, return B37 as the value in Sheet1!E4.
I had originally wanted to do an if function for it, but to no avail. VLookup won't work, as this sheet cannot be sorted by the codes.
My original thought: =IF(B4 = Sheet2!A2:A162,Sheet2!B2:B162,)
I knew it wouldn't work, so please don't point out the idiocy of it. It was just where my head went at first and apparently this close to Christmas my working brain has taken a leave of absence. And a leave of sense.