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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Countif in Crystal? 2

Status
Not open for further replies.

Simon9999

Technical User
Oct 25, 2006
105
GB
Hi all

Does anybody know if there is an equivalent to countif / sumif in crystal xi?

Thanks

Simon
 
This is a two-step process. Create formulas like this:

//{@forcount}:
if {table.field} = "A" then 1

//{@forsum}:
if {table.field} = "A" then {table.amt}

Then insert a sum (not a count for either one) on the formula at the group and/or grand total level.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top