How do I set up a two column drop down box that stores only one value in a row in a cell?

For example the Curriculum is Math and the code is M. I want the M to be the value in the cell but the drop down shows both the code, M, and its corresponding curriculum Math.

Can anyone help me?

Thanks!

Veronica Boaz