0% found this document useful (0 votes)
31 views9 pages

Excel 2 - IF

dd

Uploaded by

hellkat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views9 pages

Excel 2 - IF

dd

Uploaded by

hellkat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 9

IF() examples

Evaluation is a calculation; value-if-true and value-if-false are both numbers


# of students 41
# of sections 2 < if more than 40 students register, add a 2nd section to the program; otherw
# of sections 2 < if 40 or fewer students register, we have 1 section; otherwise we have 2

Evaluation is a calculation; for value-if-true and value-if-false, one is a calculation and the other is a number
Average ticket price 38.00
Number of seats 395
Number of performances 3
Forecast % of capacity 50%
Forecast box office revenue 22,515.00

Choreographer royalty 2,251.50 < if box office is greater than $20,000, she gets 10%; otherwise, she gets $200
Choreographer royalty 2,251.50 < If box office is $20,000 or less, she gets $2000; otherwise, she gets 10%

Evaluation is a calculation; value-if-true and value-if-false are both calculations

Venue $500 < evening rental; same regardless of length of concert


Caretaker hourly rate $20 < caretaker is paid for 4 hours no matter what! So, minimum cost is Rate x 4
Caretaker overtime rate $30 < caretaker gets time and a half after 4 hours

Length of concert 3.50 < consider entire evening (e.g. 6pm to 10pm for warm-up, audience arrival, co

Venue cost 580.00 < if "Length" is 4 hours or less, no caretaker overtime


Venue cost 580.00 < if "Length" is over 4 hours, regular caretaker for 4 hrs + overtime caretaker

NOTE: This one is tricky! You've got a lot to pack into value-if-true and value-if-false
If concert is 4 hours or less: Venue + Ratex4
If concert is over 4 hours Venue + Ratex4 + (Length - 4) x Overtime

Evaluation is a calculation; value-if-true and value-if-false are both words


Student grade 75
Status Pass < if grade is less than 50%, say "Fail;" otherwise say "Pass"
Status Pass < if grade is 50% or more, say "Pass;" otherwise say "Fail"

Evaluation is a calculation; for value-if-true and value-if-false, one is a phrase the other is a blank

Admissions by type
Member -
Regular 2,240.00
Student/Senior 2,185.00
Group 520.00
Total 4,945.00

Admissions by day
Sunday 1,450.00
Monday 285.00
Tuesday 315.00
Wednesday 340.00
Thursday 690.00
Friday 810.00
Saturday 1,005.00
Total 4,895.00

Checksum Doesn't balance < if "By type" equals "By day" be invisible; otherwise, show an error message
Checksum Doesn't balance < if "By type" does not equal "By day" show an error message; otherwise, be i
on to the program; otherwise 1
n; otherwise we have 2

e other is a number

%; otherwise, she gets $2000


herwise, she gets 10%

minimum cost is Rate x 4

arm-up, audience arrival, concert, audience departure)

4 hrs + overtime caretaker


e, show an error message
or message; otherwise, be invisible
Greater than 20 > 5

Less than 10 < 11

Equal to 30 = 30

Greater than or equal to >=

Less than or equal to <=

Not equal to <>


IF() examples

Evaluation is a calculation; value-if-true and value-if-false are both numbers


# of students 41
# of sections < if more than 40 students register, add a 2nd section to the program; otherw
# of sections < if 40 or fewer students register, we have 1 section; otherwise we have 2

Evaluation is a calculation; for value-if-true and value-if-false, one is a calculation and the other is a number
Average ticket price 38.00
Number of seats 395
Number of performances 3
Forecast % of capacity 50%
Forecast box office revenue 22,515.00

Choreographer royalty < if box office is greater than $20,000, she gets 10%; otherwise, she gets $200
Choreographer royalty < If box office is $20,000 or less, she gets $2000; otherwise, she gets 10%

Evaluation is a calculation; value-if-true and value-if-false are both calculations

Venue $500 < evening rental; same regardless of length of concert


Caretaker hourly rate $20 < caretaker is paid for 4 hours no matter what! So, minimum cost is Rate x 4
Caretaker overtime rate $30 < caretaker gets time and a half after 4 hours

Length of concert 3.50 < consider entire evening (e.g. 6pm to 10pm for warm-up, audience arrival, co

Venue cost < if "Length" is 4 hours or less, no caretaker overtime


Venue cost < if "Length" is over 4 hours, regular caretaker for 4 hrs + overtime caretaker

NOTE: This one is tricky! You've got a lot to pack into value-if-true and value-if-false
If concert is 4 hours or less: Venue + Ratex4
If concert is over 4 hours Venue + Ratex4 + (Length - 4) x Overtime

Evaluation is a calculation; value-if-true and value-if-false are both words


Student grade 75
Status < if grade is less than 50%, say "Fail;" otherwise say "Pass"
Status < if grade is 50% or more, say "Pass;" otherwise say "Fail"

Evaluation is a calculation; for value-if-true and value-if-false, one is a phrase the other is a blank

Admissions by type
Member -
Regular 2,240.00
Student/Senior 2,185.00
Group 520.00
Total 4,945.00

Admissions by day
Sunday 1,450.00
Monday 285.00
Tuesday 315.00
Wednesday 340.00
Thursday 690.00
Friday 810.00
Saturday 1,005.00
Total 4,895.00

Checksum < if "By type" equals "By day" be invisible; otherwise, show an error message
Checksum < if "By type" does not equal "By day" show an error message; otherwise, be i
on to the program; otherwise 1
n; otherwise we have 2

e other is a number

%; otherwise, she gets $2000


herwise, she gets 10%

minimum cost is Rate x 4

arm-up, audience arrival, concert, audience departure)

4 hrs + overtime caretaker


e, show an error message
or message; otherwise, be invisible

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy