Not sure what
print it to a column adjacent to the values
this means, but I would investigate pivot tables if I were you.