Thank you very much. The Fraction of Total solution seemed the simplest solution and works well. Along the way I had another problem in that my original sort field was in a related file. The sort only worked for the purposes of the summary function after I put in a calculation field to give a text field in the primary file for the sort to work on.