I am designing a reports using Crystal Reports 8.0. It is a customer list. At the report footer, I want to list the customer reps and count how many customers they represent. I kept track of the customer reps using two arrays -- one for who the customer reps are and the second for tabulating their number of customers. To tabulate their customer count, is there a function I can use that determines which array element the customer rep is in as data gets traversed to generate the report? Or should I just create a loop (either a Do...While or a For...Next) procedure within a formula field to determine which array element I should run the tabulation on?