Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Average Formulas

Status
Not open for further replies.

kernal

Technical User
Feb 27, 2001
415
US
I'm using Crystal 9 with a csv files.

1. The user has requested "average number of enrollments by semester and year (year would include A06 and S06)

CSV File examples

Semester Class Section Student_ID Status
A06 1 1 1 Enrolled
A06 1 1 2 Enrolled
A06 1 2 3 Enrolled
A06 1 2 4 Enrolled

S06 1 1 5 Enrolled
S06 1 1 1 Enrolled
S06 1 2 3 Enrolled
S06 1 2 7 Enrolled
S06 2 3 5 Enrolled
S06 2 3 1 Enrolled
S06 2 4 3 Enrolled
S06 2 4 7 Enrolled


2. Average number of sections (semester and year)

Semester Class Section
A06 1 1
A06 1 1
A06 1 2
A06 1 2

S06 1 1
S06 1 1
S06 1 2
S06 1 2

Help is appreciated.
 
So what results would you expect from the above sample data?

What are the problems you are running into?

-LB
 
My mind is just going blank. I don't even know where to start to get an average.
 


If I'm reading this correctly, you need to create a group for Year, one for Semester, one for Class, and one for Section. Then you can right-click on the Student_ID field (which I take to be a count of the enrollments) and create a Summary for any or all of the above groups. Change the Summary Type from Sum to Average and you should be good to go.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top