How to calculate customer value from past product sales?

I want to be able to determine the value of our customers who bought an offer we had 2 years ago for a specific product. Any step by steps?