15 views

Uploaded by Michael

save

- Purlin Design(Final) 1
- Cantilever Matrix
- Plate Modeling
- Strength and Eco Questions
- Deflection of Curved Beams
- SET 3 -UNIT 3-
- Deflection of Beams
- Lab4a
- Displacement Method of Analysis
- Rashtreeya Sikshana Samithi Trust
- BASF Snap Fit Design Guide
- Deflection of Concrete Floor Systems
- Structural Analysis - i (1)
- Theoretical Calculation
- Deflection - 2017
- Beam Deflection
- ASD vs LRFD Comparison
- SpSlab Manual
- Tutorial 0304
- Slab Design
- 19
- final draft individual report
- Www Pascal Programming Info Lesson5 Php
- SOM CIA 1
- Les Set Analysis_ENG
- Example 2 - Bending Test
- LAB 1-Beam Deflection
- 4.2 Effective Lengths and Critical Loads
- YYJ_stiff_2003 Caternary Action -Steel Beam
- Steel Angles d 1322
- CQ-10-Q3-L01-T
- FRIDAY EVENING ACTIVITIES FOR THE YEAR 2011
- ETQ310_13
- CQ-10-Q3-L01
- ETQ211_08
- fin ac
- ETQ310_09
- 7 Creeping Compromise
- CQ-10-Q3-L02
- ETQ310_11
- 7 Creeping Compromise
- ETQ310_12
- ETQ310_10
- God & Money
- Managing Your Team
- A Christian Perspective on Money Management
- 1.+Friend
- 6.+Guide
- 2.+Companion
- Friend
- 3.+Explorer
- 4.+Ranger
- Being a Wise and Faithful Steward
- A Will-The Keystone to Your Estate Plan
- 5.+Voyager
- #10 Speaking in Tongues

You are on page 1of 3

Excel - IF Functions

1/3

Excel IF Function

The logical functions in Excel are a small group consisting of six functions These functions are noted for their blackor-white or white results A logical function can return only one of two values: TRUE or FALSE

Excel IF Function

The most common and powerful of the logical functions in Excel is the IF function This function is particularly powerful because it can test for a particular condition in the worksheet and:

do a calculation if the condition is TRUE; or another calculation if the condition is FALSE

Excel IF Function

The format of the IF function is: IF(logical_test, value_if_true, value_if_false)

l logical_test is any value or expression that can be evaluated l l h l d to TRUE or FALSE value_if_true is the value that is returned if logical_test is TRUE value_if_false is the value that is returned if logical_test is FALSE value_if_true and/or value_if_false can be another formula

Excel IF Function

The operators in the logical_test of the IF function is may be:

= <> > >= < <= Equals to Not Equals to Greater than Greater than or equal to Less than Less than or equal to 100<>100 3*6>=2^3

returns FALSE returns TRUE

The logical test:

Excel IF Function

Consider the following IF function: =IF(B2>=1000,100,50)

If the logical_test is TRUE, or in other words if the value of B2 is greater than or equal to 1000, than the function returns a value of 100 If the logical_test is FALSE, or in other words if the value of B2 is not greater than or equal to 1000, than the function returns a value of 50

Excel IF Function

Consider the following IF function: =IF(B2>=1000,B2*0.1,B2*0.05)

If the Logical_test is TRUE, or in other words if the value of B2 is greater than or equal to 1000, than the function returns 10% of B2 If the Logical_test is FALSE, or in other words if the value of B2 is not greater than or equal to 1000, than the function returns 5% of B2

"The value is out of range. the second IF statement g is evaluated If the second logical_test (Score>79) is TRUE. . See the following table. and you want to display a message if it is not. “Less than a grand”) If the value of B2 is greater than or equal to 1000.IF Functions 2/3 Excel IF Function Consider the following IF function: =IF(B2>=1000. the third IF statement is evaluated. then the value of the IF function is "The value is out of range.”) If B4 contains 104."D". then the value of the IF function is 50 .CIVL 1112 Excel . "A" is returned Then return A B C D F If the first logical_test is FALSE. than th f th l f i l t 100 th the function ti returns the sum of the values in cells B5 to B15 If the value of A10 is not equal to 100.” If B4 contains 50.IF(Score>79. IF(Score>59. than the th l f i t th l t 1000 th th function returns the string “A $1000 or better” If the value of B2 is not greater than or equal to 1000."C"."B". and so on Up to seven IF functions can be nested together in one function IF(Score>89. If Score is Greater than 89 From 80 to 89 From 70 to 79 From 60 to 69 Less than 60 Excel IF Function IF(Score>89. logical2. B4. B4<100). ) Returns TRUE if all the logical arguments are TRUE Returns FALSE if one or more arguments is FALSE Up to 30 conditions you want to test that can be either TRUE or FALSE Excel AND Function Suppose you want to display B4 if it contains a number strictly between 1 and 100. .”A $1000 or better”."A". ."C".IF(Score>69.IF(Score>69.SUM(B5:B15). you must enclose the text in a pair of double quotation marks (“ “) Excel IF Function Consider the following IF function: =IF(A10=100."F")))) If the first logical_test (Score>89) is TRUE."B"."A". ”B" is returned If the second logical_test is FALSE."") If the value of A10 is equal to 100."F")))) Excel AND Function The format of the AND function is: AND(logical1.IF(Score>79. than the function returns the string “Less than a grand” When you use text as the value_if_true or the value_if_false arguments. IF(AND(1<B4. IF(Score>59. than the function returns a blank string “” Excel IF Function Suppose you want to assign letter grades to numbers referenced by the name Score."D".

CIVL 1112 Excel . and I is the moment of inertia Wx 2 3a x 6EI Wx 2 y 3x a 6EI y for x a for x a Excel IF Function Problem Use the IF function to compute the value of the deflection if: Excel Logical Functions Questions? W is in cell A4 E is in cell A5 I is in cell A6 a is in cell B6 x is in cell B8 =IF(B8<=B6. a is the location of the load. W is the applied load. E is the modulus of elasticity.IF Functions 3/3 Excel OR Function The format of the OR function is: OR(logical1. ) Returns TRUE if any logical arguments is TRUE Returns FALSE if all arguments are FALSE Up to 30 conditions you want to test that can be either TRUE or FALSE Excel Logical Functions IF AND OR NOT FALSE TRUE Specifies a logical test to perform Returns TRUE if all its arguments are TRUE Returns TRUE if any argument is TRUE R t ti Reverses the logic of its argument Returns the logical value FALSE Returns the logical value TRUE Excel IF Function Problem The deflection of a cantilever beam is given by the following Excel IF Function Problem Use the IF function to compute the value of the deflection if: Wx 2 3a x 6EI Wx 2 y 3x a 6EI y where for x a for x a W is in cell A4 E is in cell A5 I is in cell A6 a is in cell B6 x is in cell B8 Y is the deflection of the beam. . . A4*B8^2*(3*B8-B6)/(6*A5*A6)) . . A4*B8^2*(3*B6-B8)/(6*A5*A6). logical2.

- Purlin Design(Final) 1Uploaded byDhivaBoss
- Cantilever MatrixUploaded byMauricio Riquelme Alvarado
- Plate ModelingUploaded byPedro Garcia
- Strength and Eco QuestionsUploaded byJames Torres
- Deflection of Curved BeamsUploaded byStephen Mirdo
- SET 3 -UNIT 3-Uploaded byTare Er Kshitij
- Deflection of BeamsUploaded byrahulsharma_bond013065
- Lab4aUploaded bydr_ar_marwat
- Displacement Method of AnalysisUploaded byahmad nabil
- Rashtreeya Sikshana Samithi TrustUploaded bySumitKumar
- BASF Snap Fit Design GuideUploaded bywantamanual
- Deflection of Concrete Floor SystemsUploaded byHafeel Ahamed Ashraf Ali
- Structural Analysis - i (1)Uploaded bymaheshu78
- Theoretical CalculationUploaded byankush
- Deflection - 2017Uploaded bysamir
- Beam DeflectionUploaded byChinna Valle
- ASD vs LRFD ComparisonUploaded bypandiangv
- SpSlab ManualUploaded bychhay long
- Tutorial 0304Uploaded byMohamed Abdulla
- Slab DesignUploaded byProf-ayman Ismail
- 19Uploaded byGR Kanna
- final draft individual reportUploaded byapi-236093184
- Www Pascal Programming Info Lesson5 PhpUploaded byDimas Setiawan
- SOM CIA 1Uploaded byUmar Saba
- Les Set Analysis_ENGUploaded byMartin Valenzuela
- Example 2 - Bending TestUploaded byMuhd Fauzan Ibrahim
- LAB 1-Beam DeflectionUploaded byNur Astuty
- 4.2 Effective Lengths and Critical LoadsUploaded byGerry Pumit
- YYJ_stiff_2003 Caternary Action -Steel BeamUploaded byLTE002
- Steel Angles d 1322Uploaded byShanmuga Sundaram

- CQ-10-Q3-L01-TUploaded byMichael
- FRIDAY EVENING ACTIVITIES FOR THE YEAR 2011Uploaded byMichael
- ETQ310_13Uploaded byMichael
- CQ-10-Q3-L01Uploaded byMichael
- ETQ211_08Uploaded byMichael
- fin acUploaded byMichael
- ETQ310_09Uploaded byMichael
- 7 Creeping CompromiseUploaded byMichael
- CQ-10-Q3-L02Uploaded byMichael
- ETQ310_11Uploaded byMichael
- 7 Creeping CompromiseUploaded byMichael
- ETQ310_12Uploaded byMichael
- ETQ310_10Uploaded byMichael
- God & MoneyUploaded byMichael
- Managing Your TeamUploaded byMichael
- A Christian Perspective on Money ManagementUploaded byMichael
- 1.+FriendUploaded byMichael
- 6.+GuideUploaded byMichael
- 2.+CompanionUploaded byMichael
- FriendUploaded byMichael
- 3.+ExplorerUploaded byMichael
- 4.+RangerUploaded byMichael
- Being a Wise and Faithful StewardUploaded byMichael
- A Will-The Keystone to Your Estate PlanUploaded byMichael
- 5.+VoyagerUploaded byMichael
- #10 Speaking in TonguesUploaded byMichael