Yes you can do the same thing just substitute the field you want to use for the field that I have provided. AS long a sit is the same dataset and scope you are fine.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question