Jump to first page Excel Functions By Dr. Farrokh Alemi Dr. Kashif Haqqi
Sum Function n The syntax for sum function =Sum(first cell:last cell)
Sum Function ExampleCells to ADDAnswer =sum (A1:A3)A1, A2, A3150 =sum (A1:A3, 100)A1, A2, A3 and =sum (A1+A4)A1, A4#VALUE! =sum (A1:A2, A5)A1, A2, A575
Average Function n The syntax for average function =Average (first value, second value, etc.)
Average Function ExampleCells to averageAnswer =average (A1:A4)A1, A2, A3, A462.5 =average (A1:A4, 300)A1, A2, A3, A4 and =average (A1:A5)A1, A2, A3, A4, A562.5 =average (A1:A2, A4)A1, A2, A458.3
Count Function n Blank entries are not counted. n Text entries are NOT counted.
Count Function Example of CountCells to look atAnswer =Count (A1:A3)A1, A2, A33 =Count (A1:A3, 100)A1, A2, A3, and 3004 =Count (A1, A3)A1, A3,2 =Count (A1, A4)A1, A42 =Count (A1, A5)A1, A51
CountA Function n Blank entries are not Counted. n Text entries ARE Counted.
CountA Function Example of CountACells to look atAnswer =CountA (A1:A3)A1, A2, A33 =CountA (A1:A3, 100)A1, A2, A3, and 3004 =CountA (A1, A3)A1, A3,2 =CountA (A1, A4)A1, A42 =CountA (A1, A5)A1, A51
IF Function n The syntax is - =IF (condition, value-if-true, value-if-false) - value returned may be either a number or text - if value returned is text, it must be in quotes
IF Function Example of IF typed into Column B Cells to look atAnswer =IF (A2>1,"Yes","No")is (.95 > 1)No =IF (A3>1,"Yes","No")is ( 1.37 > 1)Yes =IF (A5>10000,.08,.05)is (14000 > 10000).08 =IF (A6>10000,.08,.05)is (8453 > 10000).05
Function Wizard n In excel there is a help tool for functions called the function wizard. n There are two ways to get the the function wizard. If you look at the standard toolbar, the function wizard icon look like the icon on the right. n The other way to get to the function wizard is to go to the menu INSERT -- down to FUNCTION..