Brother International WP230B Owners Manual - English - Page 213

Tsumal..c3

Page 213 highlights

2. Functions Using Multiple Arguments @IF This special function checks whether or not a specified condition is verified, and displays a value that depends on the result of that check. The general form of this function is @ IF(condition, argumentl, argument2), and can be read in plain English as: if the "condition" is satisfied, then display "argumentl ." If the condition is not satisfied, then display "argument2." The "condition" is usually an arithmetic comparison, using two values (number or cell address) and one of the following comparison operators: = equal to = greater than or equal to > greater than not equal to OlF(Al >100,100,50) gives 100 if Al is greater than 100, and 50 if Al is equal to 100 or smaller than 100 @IF(Al >100,100,A1) gives 100 if A1=200 and 60 if Al =60 • Argument2" can be omitted. In that case, the function returns "argumentl" when the condition is satisfied, andzero when the condition is not satisfied. @IF(A1=50,100) is equivalent to @IF(A1=50,100,0) • If "argumentl" and "argument2" are both omitted, the function returns 1 when the condition is satisfied, andzero when the condition is not satisfied. (7, IF(A1=50) is equivalent to @IF(A1=50,1,0); 100* @IF(A1=50) is equivalent to IF(A1=50,100) • The "condition" can be a cell address. In that case, "argumentl" and "argument2"must be omitted. The function returns 1if the cell contains a numeric data, and zero if the cell contains alphanumeric data. IF(A1) gives 1 if Al=50 and gives 0 if Al contains a label. The following example shows how to use the @TSUM function: 1. Enter the numbers shown below in the range Al ..C3; then enter @TSUM(Al..C3) in D4. 9............ its • 4 5 6 7 1 9 2. Press RETURN. The results appear as follows: .." . 1 4 7 12 2 3 5 6 15 8 9 24 15 18 i..'11:.-': PITCH:10 Spreadsheet 201

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257
  • 258
  • 259
  • 260
  • 261
  • 262
  • 263
  • 264
  • 265
  • 266
  • 267
  • 268
  • 269
  • 270
  • 271
  • 272
  • 273
  • 274
  • 275
  • 276
  • 277
  • 278
  • 279
  • 280
  • 281
  • 282
  • 283
  • 284
  • 285
  • 286
  • 287
  • 288
  • 289
  • 290
  • 291
  • 292
  • 293
  • 294
  • 295
  • 296
  • 297
  • 298
  • 299
  • 300
  • 301
  • 302
  • 303
  • 304
  • 305
  • 306
  • 307
  • 308
  • 309
  • 310
  • 311
  • 312
  • 313
  • 314
  • 315
  • 316
  • 317
  • 318
  • 319
  • 320
  • 321
  • 322
  • 323
  • 324
  • 325
  • 326
  • 327
  • 328
  • 329
  • 330
  • 331
  • 332
  • 333
  • 334
  • 335
  • 336
  • 337
  • 338
  • 339
  • 340

2.
Functions
Using
Multiple
Arguments
@IF
This
special
function
checks
whether
or
not
a
specified
condition
is
verified,
and
displays
a
value
that
depends
on
the
result
of
that
check.
The
general
form
of
this
function
is
@
IF(condition,
argumentl,
argument2),
and
can
be
read
in
plain
English
as:
if
the
"condition"
is
satisfied,
then
display
"argumentl
."
If
the
condition
is
not
satisfied,
then
display
"argument2."
The
"condition"
is
usually
an
arithmetic
comparison,
using
two
values
(number
or
cell
address)
and
one
of
the
following
comparison
operators:
=
equal
to
<=
less
than
or
equal
to
<
less
than
>=
greater
than
or
equal
to
>
greater
than
<>
not
equal
to
OlF(Al
>100,100,50)
gives
100
if
Al
is
greater
than
100,
and
50
if
Al
is
equal
to
100
or
smaller
than
100
@IF(Al
>100,100,A1)
gives
100
if
A1=200
and
60
if
Al
=60
Argument2"
can
be
omitted.
In
that
case,
the
function
returns
"argumentl"
when
the
condition
is
satisfied,
and
zero
when
the
condition
is
not
satisfied.
@IF(A1=50,100)
is
equivalent
to
@IF(A1=50,100,0)
If
"argumentl"
and
"argument2"
are
both
omitted,
the
function
returns
1
when
the
condition
is
satisfied,
and
zero
when
the
condition
is
not
satisfied.
IF(A1
=50)
is
equivalent
to
@IF(A1=50,1,0);
100*
@
IF(A1=50)
is
equivalent
to
IF(A1=50,100)
The
"condition"
can
be
a
cell
address.
In
that
case,
"argumentl"
and
"argument2"
must
be
omitted.
The
function
returns
1
if
the
cell
contains
a
numeric
data,
and
zero
if
the
cell
contains
alphanumeric
data.
IF(A1)
gives
1
if
Al=50
and
gives
0
if
Al
contains
a
label.
(7,
The
following
example
shows
how
to
use
the
@TSUM
function:
1.
Enter
the
numbers
shown
below
in
the
range
Al
..C3;
then
enter
@TSUM(Al..C3)
in
D4.
9
............
its
4
5
6
7
1
9
2.
Press
RETURN.
The
results
appear
as
follows:
PITCH:10
.."
.
1
2
3
4
5
6
15
7
8
9
24
12
15
18
. ::
:..:;
':
:.
i..'11:'
.
:
-
.:
Spreadsheet
201