Solved

Formula Help for Crystal Report

Posted on 2014-04-19
3
321 Views
Last Modified: 2014-05-11
I need some assistance trying to come up with a formula in crystal.  Attached is a picture that I think should give you what you need, along with the below txt.

Currently 5 (ItemDemand.ReOrdQTY) is the correct answer for "# of packages to Reorder to Max", although there are rare times when the answer needs to change. When 1 is greater than 4 then 5 should be replaced by 4-2+3 (Please see picture for table information)
tables.jpg
0
Comment
Question by:Mcottuli
  • 2
3 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 40011369
Try this

You need to replace the fields with your field names

If ({Field1} > {Field4}) then
    {Field4} - {Field2} + {Field3}
Else
    {Field5}

mlmcc
0
 
LVL 1

Author Comment

by:Mcottuli
ID: 40011429
i tried that but the field are actually Sum of (field) in a couple cases. should it matter ?
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 40011815
So long as you are in the same scope it shouldn't matted

mlmcc
0

Featured Post

The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Help Required 3 108
awk and Pythagoras? 5 19
Dates formatted Differently on another pc 2 16
reccommendations for a free msft sql query manager? 4 28
Introduction Hopefully the following mnemonic and, ultimately, the acronym it represents is common place to all those reading: Please Excuse My Dear Aunt Sally (PEMDAS). Briefly, though, PEMDAS is used to signify the order of operations (http://en.…
'Between' is such a common word we rarely think about it but in SQL it has a very specific definition we should be aware of. While most database vendors will have their own unique phrases to describe it (see references at end) the concept in common …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question