Page 1 of 1

multiple input

Posted: Mon Jul 24, 2006 12:36 pm
by Olger
Hello, I have a question.

For example:

Input = 750
Maximum Realisation = 1000
Stock = 4500

I need a formule that checks if my Input is lower then my Max Realisation. If it's lower it needs to fill the gap with goods from my stock. How do i need to do this???

RE I have a question

Posted: Mon Jul 24, 2006 12:50 pm
by LAUJJL
Hi

I do not understand your question.
I think it needs a better formulation.
Regards.
JJ

Posted: Mon Jul 24, 2006 12:55 pm
by Administrator
How about something like

refill amount = if then else ( Input < Maximum Realisation
, expected amount to refill
, 0 )

expected amount to refill = min (
stock , Maximum Realisation - Input )

Tony.

Posted: Mon Jul 24, 2006 1:19 pm
by Olger
Tnx Tony, I will try