1 / 7

If Function

If Function. IF() Function. IF( test expression , value if true , value if false ) Returns one or the other value, depending on the truth or falsity of the test expression For example, create column for Pass/Fail IF(G4>=60,”PASS”, “FAIL”) . IF() Function .

dana
Download Presentation

If Function

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. If Function

  2. IF() Function • IF(testexpression, value if true, value if false) • Returns one or the other value, depending on the truth or falsity of the test expression • For example, create column for Pass/Fail • IF(G4>=60,”PASS”, “FAIL”)

  3. IF() Function

  4. Nesting IF() Functions • Suppose: • Column G contains the average value of test scores. • In column H, display letter grades (A, B, or C) as follows. • If score >= 90, then grade Is A • If score < 90, but >= 80, then grade is B • If score < 80, but >= 70, then grade is C • If score < 70, but >= 60, then grade is D • Otherwise, grade is F

  5. Nested IF() Function • IF(G4>=90,”A”, IF(G4>=80,”B”, IF(G4>=70,”C”, IF(G4>=60,”D”, “F”) ) ) )

  6. VLOOKUP() Function • VLOOKUP Function • VLOOKUP(value to look up, range of cells containing table, column-number in the table that contains the result) • Table of break-point (lowest value) for the grade, must be in ascending order

  7. VLOOKUP() Function

More Related