Have a look here for what might be an easier alternative...

http://www.contextures.com/xldataval02.html