Link to home
Start Free TrialLog in
Avatar of bryant1
bryant1

asked on

Grouping only certain values into a group

I am looking to make an expense report in Crystal.  The database has several fields that relate to the same general type of expenses(eg. Salary & Wages - Temp; Salary & Wages - Manager)  that i want to sum up under a single Salary Heading, and not show the indivual groups.  the database has account numbers and i know what account #'s i want under each heading; however I cannot figure out how to incorparate this logic into CR 11.5.

ASKER CERTIFIED SOLUTION
Avatar of bdreed35
bdreed35
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of peter57r
You can specify your own groups with your own names when you Insert a group on a particular field.
When you get the Insert Group dialog choose 'In specified order ' from the sort sequence drop down.
This open up a new dialog box which allows to specify a group name - click New and then add all the Account nos that make up that group. Repeat as necessary for each New group.
Avatar of bryant1
bryant1

ASKER

Ok that formula that bdreed gave me seems to work, but it will not sum of the total for the group.. any ideas why?
The formula I gave you only allows you to group records, not sum them.
Once you create the group, you should be able to insert a summary on any numeric field that you need a sum for.
Avatar of bryant1

ASKER

Thanks, Worked like a charm