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

Summary formula help

Status
Not open for further replies.

RavenXIII

IS-IT--Management
Mar 18, 2007
26
AU
Hi im fairly new to crystal im using 8.5 and iv been trying to get a formula that does this

sum (EV_BOOKING:TOTALPRICE)
Where EV_BOOKING.BOOKINGSTATUS = "CFM"
+
Sum (EV_BOOKING.CANCELLATIONFEE)
Where {EV_BOOKING.BOOKINGSTATUS} = "X"

Can someone Please Help


Thankyou
 
This is going to take 3 formulas:

if {EV_BOOKING.BOOKINGSTATUS} in "CFM" then {EV_BOOKING:TOTALPRICE} else 0

if {EV_BOOKING.BOOKINGSTATUS} in "CFM" then {EV_BOOKING.CANCELLATIONFEE) else 0

Sum({@formula1})+sum({@formula2})


Software Sales, Training, Implementation and Support for Macola, eSynergy, and Crystal Reports

"If you have a big enough dictionary, just about everything is a word"
--Dave Barry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top