EasyManuals Logo
Home>HP>PDA>HP-18C

HP HP-18C User Manual

HP HP-18C
226 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #150 background imageLoading...
Page #150 background image
Conditional Expressions
Formulas can include conditional expressions using the function
IF.
For example,
the
solver accepts the formula:
BONUS=
IF
(SALES
>
3000:
.
02xSALES:
.01
x
SALES)
The two colons inside
the
parentheses
stand
for
NTHEN"
and
NOR
ELSE." According to this formula,
if
SALES are greater
than
3000,
then
the
BONUS equals .02 x SALES; otherwise, BONUS equals .
01
x SALES.
In general, the syntax of
the
IF
function
is:
IF(conditional
expression
:
algebraic
expression
:
algebraic
expression)
The logical
and
relational operators
that
can be
used
in
conditional
expressions are described in table 9-4.
Table 9-4. Operators Used in Conditional Expressions.
Logical
Operators
Relational
Operators
AND
> (
.[I]
)
Greater than.
OR
< (
.[TI
)
Less than.
EXOR
=
Equal to.
NOT
>=
Greater than or equal to.
< = Less than or equal
to
.
<>
Not equal to.
148
9:
The
Formula
Solver

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP HP-18C and is the answer not in the manual?

HP HP-18C Specifications

General IconGeneral
BrandHP
ModelHP-18C
CategoryPDA
LanguageEnglish

Related product manuals