Jump to content
Salesforce and other SMB Solutions are coming soon. ×

comparison operator help


mcbradford

Recommended Posts

I know this is simple, but I just cannot get it.

 

Fields

 

UpperValue, LowerValue, EnteredValue, PassFail

 

If EnteredValue is between the range of UpperValue and LowerValue, "Pass", otherwise "Fail". If nothing entered in UpperValue, LowerValue or EnteredValue, "Null".

 

Thanks

Link to comment
Share on other sites

hi


passfail=
Case( not isempty(uppervalue) AND not isempty(lowervalue) AND not isempty (enteredvalue);
  Case(lowervalue<=enteredvalue AND enteredvalue<=uppervalue;"pass";"fail"
  )
)

 

kjoe

Link to comment
Share on other sites

Case( not IsEmpty(UpperValue) and not IsEmpty(LowerValue) and not IsEmpty(TechValue),

Case(LowerValue

 

Tech Value = 425

Upper Value = 550

Lower Value = 450

 

Result = Fail

 

?????

Link to comment
Share on other sites

so you're ok then?

 

slightly shorter:

 

Case(uppervalue and lowervalue and enteredvalue;

Case(lowervalue

)

)

 

 

kjoe

Link to comment
Share on other sites

If one of the values is zero, that one will not work.

 

Case( not (IsEmpty(uppervalue) or IsEmpty(lowervalue) or Isempty(enteredvalue));

Case( lowervalue

)

)

 

is probably the most compact you should make it.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...

Important Information

Terms of Use